Inbound Calls Caller ID
On my inbound calls I get incoming call ID in this format <XXXxxxxxxx;phone-context=national>, is there any way of stripping this out so that I end up with just numbers before the system starts routing the call? I have a few work arounds setup so that the call routs properly and I get the correct caller ID on my handsets, it would be nice not to have to use these. Thank You, George
Check on "sip_invite_from_params" -djbinter On Thu, Feb 2, 2012 at 9:01 AM, George Sapak <sat@calgaryit.com> wrote:
On my inbound calls I get incoming call ID in this format <XXXxxxxxxx;phone-context=national>, is there any way of stripping this out so that I end up with just numbers before the system starts routing the call? I have a few work arounds setup so that the call routs properly and I get the correct caller ID on my handsets, it would be nice not to have to use these.
Thank You, George
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.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 http://www.freeswitch.org
This -> "sip_invite_from_params" is pretty under documented, here is the initial SIP conversation: INVITE sip:403yyyyyyy;phone-context=national@10.185.16.170;user=phone SIP/2.0 Via: SIP/2.0/UDP 10.185.16.169:5060;branch=z9hG4bKti89c3kqffttnvqrom790lopv7 From: <sip:403xxxxxxx;phone-context=national@10.185.16.169;user=phone;isup-oli=00>;tag=SDhcnk501-80466 To: <sip:403yyyyyyy;phone-context=national@10.185.16.170;user=phone> Call-ID: SDhcnk501-1fd6435299a4405392f0b06a40d518fa-o0t3g30 CSeq: 906 INVITE Content-Type: application/sdp Contact: <sip:403xxxxxxx;phone-context=national@10.185.16.169:5060;transport=udp> User-Agent: Nortel SESM 14.0.6.0 Max-Forwards: 19 Supported: com.nortelnetworks.firewall,p-3rdpartycontrol,nosec,join,x-nortel-sipvc,com.nortelnetworks.im.encryption,replaces,100rel,tdialog Allow: UPDATE,REFER x-nt-corr-id: 9b0cf0d0-29e6-1b21-a632-000e0cb7d3a0 x-nt-location: -1 Content-Length: 201 Route: <sip:403yyyyyyy;phone-context=national@10.185.16.170:5060;user=phone;lr> just need this removed -> ;phone-context=national Thank You, George. ----- Original Message ----- From: "DJB International" <djbinter@gmail.com> To: "FreeSWITCH Users Help" <freeswitch-users@lists.freeswitch.org> Sent: Thursday, February 2, 2012 12:08:57 PM Subject: Re: [Freeswitch-users] Inbound Calls Caller ID Check on "sip_invite_from_params" -djbinter On Thu, Feb 2, 2012 at 9:01 AM, George Sapak < sat@calgaryit.com > wrote: On my inbound calls I get incoming call ID in this format <XXXxxxxxxx;phone-context=national>, is there any way of stripping this out so that I end up with just numbers before the system starts routing the call? I have a few work arounds setup so that the call routs properly and I get the correct caller ID on my handsets, it would be nice not to have to use these. Thank You, George _________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.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 http://www.freeswitch.org _________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.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 http://www.freeswitch.org
Try to unset the variable. -djbinter On Thu, Feb 2, 2012 at 5:29 PM, George Sapak <sat@calgaryit.com> wrote:
This -> "sip_invite_from_params" is pretty under documented, here is the initial SIP conversation:
INVITE sip:403yyyyyyy;phone-context=national@10.185.16.170;user=phone SIP/2.0 Via: SIP/2.0/UDP 10.185.16.169:5060 ;branch=z9hG4bKti89c3kqffttnvqrom790lopv7 From: <sip:403xxxxxxx;phone-context=national@10.185.16.169 ;user=phone;isup-oli=00>;tag=SDhcnk501-80466 To: <sip:403yyyyyyy;phone-context=national@10.185.16.170;user=phone> Call-ID: SDhcnk501-1fd6435299a4405392f0b06a40d518fa-o0t3g30 CSeq: 906 INVITE Content-Type: application/sdp Contact: <sip:403xxxxxxx;phone-context=national@10.185.16.169:5060 ;transport=udp> User-Agent: Nortel SESM 14.0.6.0 Max-Forwards: 19 Supported: com.nortelnetworks.firewall,p-3rdpartycontrol,nosec,join,x-nortel-sipvc,com.nortelnetworks.im.encryption,replaces,100rel,tdialog Allow: UPDATE,REFER x-nt-corr-id: 9b0cf0d0-29e6-1b21-a632-000e0cb7d3a0 x-nt-location: -1 Content-Length: 201 Route: <sip:403yyyyyyy;phone-context=national@10.185.16.170:5060 ;user=phone;lr>
just need this removed -> ;phone-context=national
Thank You, George.
----- Original Message ----- From: "DJB International" <djbinter@gmail.com> To: "FreeSWITCH Users Help" <freeswitch-users@lists.freeswitch.org> Sent: Thursday, February 2, 2012 12:08:57 PM Subject: Re: [Freeswitch-users] Inbound Calls Caller ID
Check on "sip_invite_from_params"
-djbinter
On Thu, Feb 2, 2012 at 9:01 AM, George Sapak < sat@calgaryit.com > wrote:
On my inbound calls I get incoming call ID in this format <XXXxxxxxxx;phone-context=national>, is there any way of stripping this out so that I end up with just numbers before the system starts routing the call? I have a few work arounds setup so that the call routs properly and I get the correct caller ID on my handsets, it would be nice not to have to use these.
Thank You, George
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.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 http://www.freeswitch.org
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.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 http://www.freeswitch.org
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.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 http://www.freeswitch.org
participants (2)
-
DJB International
-
George Sapak