-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hello, I'm looking for a way to add a reason header field (like 'Reason: SIP;cause=200;text="Call completed elsewhere"') to SIP CANCEL message send by bridge application when a call times out or was denied. I would like to set it on demand in dialplan, e.g. when a queue is calling a queue member and I don't want to have that call in the phone's missed calls list. Is there a way in FS to do this, yet? best regards helmut -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (MingW32) iD8DBQFLjqd34tZeNddg3dwRAvaTAJ46LCweLzvE1pupvcsX3HVR/XW0MACdE5yr hcWP9lUEFxINGpyLXgfDKLU= =8qjy -----END PGP SIGNATURE-----
FreeSWITCH already does this for you on cancel when the call is answered elsewhere. /b On Mar 3, 2010, at 12:16 PM, Helmut Kuper wrote:
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
Hello,
I'm looking for a way to add a reason header field (like 'Reason: SIP;cause=200;text="Call completed elsewhere"') to SIP CANCEL message send by bridge application when a call times out or was denied.
I would like to set it on demand in dialplan, e.g. when a queue is calling a queue member and I don't want to have that call in the phone's missed calls list.
Is there a way in FS to do this, yet?
best regards helmut -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (MingW32)
iD8DBQFLjqd34tZeNddg3dwRAvaTAJ46LCweLzvE1pupvcsX3HVR/XW0MACdE5yr hcWP9lUEFxINGpyLXgfDKLU= =8qjy -----END PGP SIGNATURE-----
_______________________________________________ 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 http://www.freeswitch.org
Hi Brian, does this work for serial calls as well ? Am 03.03.2010 19:21, schrieb Brian West:
FreeSWITCH already does this for you on cancel when the call is answered elsewhere.
/b
On Mar 3, 2010, at 12:16 PM, Helmut Kuper wrote:
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
Hello,
I'm looking for a way to add a reason header field (like 'Reason: SIP;cause=200;text="Call completed elsewhere"') to SIP CANCEL message send by bridge application when a call times out or was denied.
I would like to set it on demand in dialplan, e.g. when a queue is calling a queue member and I don't want to have that call in the phone's missed calls list.
Is there a way in FS to do this, yet?
best regards helmut -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (MingW32)
iD8DBQFLjqd34tZeNddg3dwRAvaTAJ46LCweLzvE1pupvcsX3HVR/XW0MACdE5yr hcWP9lUEFxINGpyLXgfDKLU= =8qjy -----END PGP SIGNATURE-----
_______________________________________________ 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 http://www.freeswitch.org
_______________________________________________ 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 http://www.freeswitch.org
Yes if the call was to say 10 phones at once... and the person answers they hangup with LOSE_RACE which results in the reason header doing that. in mod_sofia if (cause > 0 && cause < 128) { switch_snprintf(reason, sizeof(reason), "Q.850;cause=%d;text=\"%s\"", cause, switch_channel_cause2str(cause)); } else if (cause == SWITCH_CAUSE_PICKED_OFF || cause == SWITCH_CAUSE_LOSE_RACE) { switch_snprintf(reason, sizeof(reason), "SIP;cause=200;text=\"Call completed elsewhere\""); } else { switch_snprintf(reason, sizeof(reason), "%s;cause=%d;text=\"%s\"", tech_pvt->profile->username, cause, switch_channel_cause2str(cause)); } /b On Mar 3, 2010, at 6:20 PM, Helmut Kuper wrote:
Hi Brian,
does this work for serial calls as well ?
Am 03.03.2010 19:21, schrieb Brian West:
FreeSWITCH already does this for you on cancel when the call is answered elsewhere.
/b
participants (2)
-
Brian West
-
Helmut Kuper