[Freeswitch-users] First Inbound DID

Don Hawkins hawkins at hawkinsegroup.com
Sun Aug 7 03:12:17 MSD 2016

I feel like the directions on setting up a DID for inbound couldn't be
clearer but yet I've been unable to get it working.

* 1. SIP Invite:

   ACK sip:19722364002 at mymyserver.com SIP/2.0
   Via: SIP/2.0/UDP;branch=z9hG4bK1bf3.34c008d0cd01ff7b9bec681d865ae587.0
   Max-Forwards: 69
   To: <sip:19722364002 at myserver.com>;tag=cZryjBv7B58aB
   From:  <sip:+12144630000 at>;tag=as74def9f2
   Call-ID: 0a7173f94045e4985f82b31525b0d93f at
   CSeq: 102 ACK
   Content-Length: 0


* 2. In public.xml AND in /public/inboundtest.xml

<extension name="public_did">
<condition field="destination_number" expression="^(19722364002)$">
<action application="set" data="domain_name=$${domain}"/>
<action application="transfer" data="1000 XML default"/>

also tried...

<condition field="${sip_to_user}" expression="^(19722364002)$">

* 3. Either way when I call the DID:

2016-08-06 23:05:04.089527 [NOTICE] switch_channel.c:1104 New Channel
sofia/internal/+14693380000 at
2016-08-06 23:05:04.089527 [DEBUG] switch_core_state_machine.c:543
(sofia/internal/+14693380000 at Running State Change CS_NEW
2016-08-06 23:05:04.089527 [DEBUG] sofia.c:9456 sofia/internal/+
14693380000 at receiving invite from
version: 1.6.9 -16-d574870 64bit
2016-08-06 23:05:04.089527 [DEBUG] sofia.c:9623 IP Rejected
by acl "domains". Falling back to Digest auth.

NOTE: 4693380000 is the number I am calling from, not the DID number. The
DID number is 9722364002.

Any help is appreciated, thanks!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160806/d328c626/attachment.html 

Join us at ClueCon 2016 Aug 8-12, 2016
More information about the FreeSWITCH-users mailing list