satskiy.a at gmail.com Guest
|
Posted: Thu Jul 02, 2015 10:28 am Post subject: [asterisk-users] multiple sip trunks with the same ITSP |
|
|
HI LIST CAN U HELP ME
If there are multiple sip trunks with the same ITSP then an incoming call is arbitarily matched to the last peer with the same host IP address. This is not a serious problem because the DID is still correct but it does have many insidious effects due to the incorrect channel name
Example
register=myaccount1@sip.myitsp.com/line1
register=myaccount2@sip.myitsp.com/line2
[line1]
type=peer
username=myaccount1
host=sip.myitsp.com
[line2]
type=peer
username=myaccount2
host=sip.myitsp.com
If sip.myitsp.com directs a call to asterisk with a request line of:
INVITE line1@mybindaddr SIP/2.0
then it is matched to the line2 peer whereas it would probably be better matched to the line1 peer
--
Best regards
Antony
моб (066) 919-75-33
моб (063) 656-43-40
satskiy.a@gmail.com ([email]mail%3Asatskiy.a@gmail.com[/email]) |
|