henry at usinternet.com Guest
|
Posted: Tue Feb 02, 2016 3:57 pm Post subject: [asterisk-users] Asterisk not matching peer of incoming call |
|
|
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-250@sipproxydev06.xxx.net ([email]SIP/test-250@sipproxydev06.xxx.net[/email])
-- 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 |
|