I have one other question regarding the „To“-header of an inbound call to a gateway.
Here my setup:
Freeswitch A registers with Freeswitch B with extension „myExt".
Incoming calls on Freeswitch B are bridged to User/Extension „myExt“ where Freeswitch B is registered.
Call: 123456 Bridge to myExt
<X-Lite> —> <Freeswitch B> —> <Freeswitch A>
When calls arrive at Freeswitch A, in the INVITE message, the "To"-header is set to the extension „myExt" (<
sip:myExt@192.168.1.135>;). To match the call correctly for my application, I need to see the the destination number the caller has dialed in the „To“-header. Is there a way to archive both:
* Incoming calls are associated with the gateway, counters CallIn are incremented and channel var sip_gateway_name is set.
* The „To“-Header contains the destination number the caller has dialed
Thanks
Markus
Thanks for the info.
I also found an issue related to this. Finally saying „Not having the gateway registered means an incoming call won't be associated with a particular gateway. "
Thanks
Markus
Yep. At that point its an anonymous call.
--
Brian West
brian@freeswitch.org
FreeSWITCH Solutions, LLC
PO BOX 2531
Brookfield, WI 53008-2531
Twitter: @FreeSWITCH , @briankwest
http://www.freeswitchbook.com
http://www.freeswitchcookbook.com
T: +1.918.420.9001 | F: +1.918.420.9002 | M: +1.918.424.WEST
iNUM: +883 5100 1420 9001
ISN: 410*543
Skype:briankwest
PGP Key: http://www.bkw.org/key.txt (AB93356707C76CED)
On Mar 4, 2014, at 12:09 PM, mbo <mbodbg@gmx.net> wrote:
I’m not registering with this gateway, does that mean I cannot track incoming calls for this gateway?
Thanks
Markus
Am 04.03.2014 um 17:17 schrieb Brian West <brian@freeswitch.org>:
This would be because the registrar doesn’t call you back at your registered contact and/or doesn’t reflect back the registration params.
--
Brian West
brian@freeswitch.org
FreeSWITCH Solutions, LLC
PO BOX 2531
Brookfield, WI 53008-2531
Twitter: @FreeSWITCH , @briankwest
http://www.freeswitchbook.com
http://www.freeswitchcookbook.com
T: +1.918.420.9001 | F: +1.918.420.9002 | M: +1.918.424.WEST
iNUM: +883 5100 1420 9001
ISN: 410*543
Skype:briankwest
PGP Key: http://www.bkw.org/key.txt (AB93356707C76CED)
_________________________________________________________________________
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
_________________________________________________________________________