[asterisk-users] same sip peer as user and provider
Fabian Borot
fborot at hotmail.com
Tue Aug 30 09:16:11 CDT 2011
Hello
Up to version 1.6.0 we have been able to configure the same SIP device as a user [inbound trunk] and as a peer [outbound trunk] w/o issues.
After we switched to version 1.8 this setup wont work, apparently one can not have the same IP on 2 different trunks anymore. The trunk that is configured as user or friend is not choosen when the inbound call hits asterisk, instead the outbound trunk is and that trunk is usually w/o context and then asterisk can not find any "call logic" in the dialplan in the default extension, hence the call fails.
as a workaround I have been trying the SIP_CODEC variables [inbound and outbound] but it wont help me in all cases.
Also I can not set the ptime on the fly using those variables in the dialplan.
After reading in the forums and the books/guides apparently the "users" are matched by the From header and "peers" are matched by IP.
Is this is the intended behavior now?
any help is greatly appreciated, txs a lot in advance
fborot
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20110830/eb1cd557/attachment.htm>
More information about the asterisk-users
mailing list