Hi all,
I've just setup a sip line with Telasip and when they route the calls to
my asterisk box, they include an extension along with the context that
is defined in sip.conf for that DID.
At first, I couldn't figure why they were getting 404 error from my
asterisk box, but then figured out that they are sending the call to an
extension that matches my number with them, in the context defined in
sip.conf. So instead of transferring the call to say, "incoming" they
are sending the call to incoming/5555555555 where "5555555555" is the
sip phone number I have with them.
So, I have to account for that extension with something like this:
[incoming]
exten=>5555555555,Goto(incoming,s,1)
Thus transferring the call to the context that I want it to come in on.
The problem that I have is the caller ID ${CALLERID(num)} always shows
the actual number provided by Telasip and not the actual caller id
information.
I also have axVoice and they do not do it this way. They simply send it
to the context without specifying an extension.
Below is a sip packet. The Caller ID comes through correctly on the sip
packet by for some reason as I mentioned, Asterisk is reporting it as
the number I have with the sip provider.
Below is the sip packet. The "3333333333" represents my cell phone I
was using to call into the system, which was correct.
localhost*CLI> exit
<-- SIP read from 4.79.19.56:5060:
ACK sip:[EMAIL PROTECTED] SIP/2.0
Record-Route: <sip:4.79.19.56;ftag=as5bfea671;lr=on>
Via: SIP/2.0/UDP 4.79.19.56:5060;branch=0
Via: SIP/2.0/UDP
4.79.19.58:5060;received=192.168.3.5;branch=z9hG4bK3f2e414e;rport=5060
From: "3333333333" <sip:[EMAIL PROTECTED]>;tag=as5bfea671
To: <sip:[EMAIL PROTECTED]>;tag=as12b47a8d
Contact: <sip:[EMAIL PROTECTED]>
Call-ID: [EMAIL PROTECTED]
CSeq: 102 ACK
User-Agent: Telasip GW3
Max-Forwards: 69
Remote-Party-ID: "3333333333"
<sip:[EMAIL PROTECTED]>;privacy=off;screen=no
Content-Length: 0
P-hint: proxy loose route
--
Warm Regards,
Lee
_______________________________________________
--Bandwidth and Colocation provided by Easynews.com --
asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users