Hello guys,When hanging up a call with a specific release, FS sends the specific code, i.e.:if i release a call like so:<action inline="true" application="set" data="release_code=483 EXCHANGE_ROUTING_ERROR"/>The BYE message is as follows:SIP/2.0 483 EXCHANGE_ROUTING_ERRORVia: SIP/2.0/UDP 1.2.3.4:5080;rport=5080;branch=z9hG4bK0y1H2X8899veB Max-Forwards: 69From: "david.villasmil" <sip:david.villasmil@1.2.3.4>;tag=t35r9gatZFcjj To: <sip:9999999@1.2.3.4:5080>;tag=pB7mFpUrc30gB Call-ID: e2da7a79-e537-1236-5691-02e1e654f872 CSeq: 123866386 INVITEUser-Agent: FreeSWITCH-mod_sofia/1.6.20-37-987c9b9~64bit Accept: application/sdpAllow: INVITE, ACK, BYE, CANCEL, OPTIONS, MESSAGE, INFO, UPDATE, REGISTER, REFER, NOTIFYSupported: timer, path, replacesAllow-Events: talk, hold, conference, referReason: Q.850;cause=25;text="EXCHANGE_ROUTING_ERROR" Content-Length: 0X-FS-Display-Name: 9999999X-FS-Display-Number: sip:9999999@1.2.3.4Remote-Party-ID: "9999999" <sip:9999999@1.2.3.4>;party=calling;privacy=off;screen=no Another example:<action inline="true" application="set" data="release_code=410 NUMBER_CHANGED"/>The BYE message is SOMETIMES as follows:SIP/2.0 410 NUMBER_CHANGEDVia: SIP/2.0/UDP 1.2.3.4:5080;rport=5080;branch=z9hG4bKZN8r02Q5c16UF Max-Forwards: 69From: "david.villasmil" <sip:david.villasmil@1.2.3.4>;tag=Q8Se4ZQF8m9SF To: <sip:9999999@1.2.3.4:5080>;tag=mSm3B0SHjHmBm Call-ID: dfbb5497-e537-1236-5691-02e1e654f872 CSeq: 123866383 INVITEUser-Agent: FreeSWITCH-mod_sofia/1.6.20-37-987c9b9~64bit Accept: application/sdpAllow: INVITE, ACK, BYE, CANCEL, OPTIONS, MESSAGE, INFO, UPDATE, REGISTER, REFER, NOTIFYSupported: timer, path, replacesAllow-Events: talk, hold, conference, referReason: Q.850;cause=22;text="NUMBER_CHANGED" Content-Length: 0X-FS-Display-Name: 9999999X-FS-Display-Number: sip:9999999@1.2.3.4Remote-Party-ID: "9999999" <sip:9999999@54.84.149.30>;party=calling;privacy=off; screen=no And other times as follows:SIP/2.0 410 GoneVia: SIP/2.0/UDP 1.2.3.4:32200;branch=z9hG4bK-d8754z-86e4295fca2efa0a-1--- d8754z-;rport=32200 Max-Forwards: 69From: <sip:david.villasmil@1.2.3.4;transport=UDP>;tag=42169b65 To: <sip:9999999@1.2.3.4;transport=UDP>;tag= pZ0N246BBcK7K Call-ID: YmU5YjEwODk2ZmZhODJjNDgzNTNlM2FiZWVmMjI2MDg. CSeq: 1 INVITEUser-Agent: FreeSWITCH-mod_sofia/1.6.20-37-987c9b9~64bit Accept: application/sdpAllow: INVITE, ACK, BYE, CANCEL, OPTIONS, MESSAGE, INFO, UPDATE, REGISTER, REFER, NOTIFYSupported: timer, path, replacesAllow-Events: talk, hold, conference, referReason: Q.850;cause=16;text="NORMAL_CLEARING" Content-Length: 0Remote-Party-ID: "9999999" <sip:9999999@1.2.3.4>;party=calling;privacy=off;screen=no But I've noticed that when i do:<action inline="true" application="set" data="release_code=488 BEARERCAPABILITY_NOTIMPL"/>The BYE message is as follows:SIP/2.0 488 BEARERCAPABILITY_NOTIMPLVia: SIP/2.0/UDP 1.2.3.4:5080;rport=5080;branch=z9hG4bK3SDv7eUK14Z6D Max-Forwards: 69From: "david.villasmil" <sip:david.villasmil@1.2.3.4>;tag=F3am0c2594H7a To: <sip:9999999@1.2.3.4:5080>;tag=6XDmXaZj5BQ8S Call-ID: aeb6624e-e539-1236-5691-02e1e654f872 CSeq: 123866772 INVITEUser-Agent: FreeSWITCH-mod_sofia/1.6.20-37-987c9b9~64bit Accept: application/sdpAllow: INVITE, ACK, BYE, CANCEL, OPTIONS, MESSAGE, INFO, UPDATE, REGISTER, REFER, NOTIFYSupported: timer, path, replacesAllow-Events: talk, hold, conference, referReason: Q.850;cause=88;text="INCOMPATIBLE_DESTINATION" Content-Length: 0X-FS-Display-Name: 9999999X-FS-Display-Number: sip:9999999@1.2.3.4Remote-Party-ID: "9999999" <sip:9999999@54.84.149.30>;party=calling;privacy=off; screen=no So I guess, my question is why sometimes the "text" is set properly, and sometimes not??ᐧ
____________________________________________________________ _____________
Professional FreeSWITCH Services
sales@freeswitch.com
https://freeswitch.com
Official FreeSWITCH Sites
https://freeswitch.com/oss
https://freeswitch.org/confluence
https://cluecon.com
FreeSWITCH-users mailing list
FreeSWITCH-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch- users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/ options/freeswitch-users
https://freeswitch.com