I'm having an issue with my Asterisk 1.8.21 server and hairpinning a call.  Any 
help would be appreciated.

My Asterisk server sends a call out to my proxy.  The proxy then routes the 
call back to Asterisk because it recognizes
that the destination is on that same Asterisk server.

When the call is sent back, I would expect Asterisk to see the incoming call 
and match it to the 'friend' I've set up for the proxy.  Unfortunately, it 
doesn't do this.  It instead it matches to the "general" section of sip.conf 
(presumably because it couldn't find a match).  I know that it matches to the 
"general" section because it routes to the dialplan "fail-call" context.

    -- Called 
SIP/test-...@sipproxydev06.xxx.net<mailto:SIP/test-...@sipproxydev06.xxx.net>
    -- Now forwarding SIP/test-user2_softphone to 'Local/test-250@fail-call' 
(thanks to SIP/sipproxydev06.xxx.net-00000001)
[2016-02-02 13:25:33] NOTICE[28481]: app_dial.c:901 do_forward: Not accepting 
call completion offers from call-forward recipient 
Local/test-250@fail-call-00000000;1
    -- Executing [test-250@fail-call:1] 
DumpChan("Local/test-250@fail-call-00000000;2", "") in new stack

I have a 'friend' defined in sip.conf for calls from sipproxydev06.xxx.net.  I 
also have a 'friend' for the Asterisk server itself.

Why doesn't Asterisk match to one of the 'friends' I have set up in sip.conf?
-H
-- 
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
               http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Reply via email to