We've recently setup a VFX trunk, with an additional 4 DDIs. Outgoing calls are working fine, but I'm having trouble getting Trixbox to recognize the incoming DDIs as being different from the primary DDI. Let's assume that my trunk number is 95550001, and my additional DDIs are 9550002-9550005:
My trixbox setup (obfuscated) looks like this:
type=peer
host=pan.wxnz.net
insecure=invite,port
fromuser=95550001
canreinvite=no
nat=yes
secret=blahblahsecret
username=blahblahuser
I have no settings under "user context"/"user details".
When I dial 95550001 from an outside number, I get this:
[Nov 27 14:45:03] -- Executing [95550001@from-sip-external:1] NoOp("SIP/blahblahsecret-097ef9b0", "Received incoming SIP connection from unknown peer to 95550001") in new stack
[Nov 27 14:45:03] -- Executing [95550001@from-sip-external:2] Set("SIP/blahblahsecret-097ef9b0", "DID=95550001") in new stack
[Nov 27 14:45:03] -- Executing [95550001@from-sip-external:3] Goto("SIP/blahblahsecret-097ef9b0", "s|1") in new stack
[Nov 27 14:45:03] -- Goto (from-sip-external,s,1)
[Nov 27 14:45:03] -- Executing [s@from-sip-external:1] GotoIf("SIP/blahblahsecret-097ef9b0", "1?from-trunk|99510264|1") in new stack
[Nov 27 14:45:03] -- Goto (from-trunk,95550001,1)
But when I dial 95550004 from an outside number, I get this:
[Nov 27 14:50:30] -- Executing [95550001@from-sip-external:1] NoOp("SIP/blahblahsecret-098cc868", "Received incoming SIP connection from unknown peer to 95550001") in new stack
[Nov 27 14:50:30] -- Executing [95550001@from-sip-external:2] Set("SIP/blahblahsecret-098cc868", "DID=95550001") in new stack
[Nov 27 14:50:30] -- Executing [95550001@from-sip-external:3] Goto("SIP/blahblahsecret-098cc868", "s|1") in new stack
[Nov 27 14:50:30] -- Goto (from-sip-external,s,1)
[Nov 27 14:50:30] -- Executing [s@from-sip-external:1] GotoIf("SIP/blahblahsecret-098cc868", "1?from-trunk|95550001|1") in new stack
[Nov 27 14:50:30] -- Goto (from-trunk,95550001,1)
[Nov 27 14:50:30] -- Executing [95550001@from-trunk:1] Set("SIP/blahblahsecret-098cc868", "__FROM_DID=95550001") in new stack
However, when I do a "debug sip" on trixbox however, I do see some packets which refer to the correct DDI I dialled:
[Nov 27 14:59:18] -- Executing [s@ivr-3:7] Wait("SIP/blahblahsecret-09753908", "1") in new stack
[Nov 27 14:59:18]
<--- SIP read from 58.28.20.150:5060 --->
ACK sip:95550001@123.123.123.123;transport=UDP SIP/2.0
From: <sip:021555123@as.wxcnz.net>;tag=96141c3ablahblahsecret13c4-492dfef5-b00c97a-26a8003c
To: "Blah Blah Ltd"<sip:95550004@as.wxcnz.net;rinstance=492de46e33a5251f>;tag=as1672fa7b
Call-ID: BW1458545022711081971752367@10.251.1.11
CSeq: 1 ACK
Via: SIP/2.0/UDP 58.28.20.150:5060;branch=z9hG4bK-3f2e7-492dfef5-b00c9a6-58c61ad4
Max-Forwards: 9
Contact: <sip:021555123@as.wxcnz.net:5060;maddr=58.28.20.150;transport=UDP>
Content-Length: 0
Have I missed something?
Cheers :)
- David