[Asterisk-Users] Caller ID
ahmed kassim
darthkassim2005 at yahoo.co.uk
Wed Dec 21 10:14:38 MST 2005
Hi to all,
I am having problems with the caller id using IAX. The
caller id feature does not function for an incoming
IAX2 call when the incoming caller hides the caller
id.
The caller id is presented as blank on my phone
instead of the number i set it to be. It works fine
otherwise and also works fine when using a sip trunk
(even for anonymous calls).
Extensions.conf entry:
exten => xxxxxxxxxxx,1,SetCallerID(xxxxx)
exten => xxxxxxxxxxx,1,NoOp(${CALLERID(number)})
exten => xxxxxxxxxxx,2,Dial(SIP/xxxx)
On the CLI:
Executing SetCallerID("IAX2/xxx.xx.xx.xxx:4569-2",
"xxxxx") in new stack
Executing Dial("IAX2/xxx.xx.xx.xxx:4569-2",
"SIP/xxxxx") in new stack
-- Called xxxxx
The SIP TRACE:
SIP read from 192.168.254.52:50254:
SIP/2.0 200 OK
Via: SIP/2.0/UDP
192.168.254.78:5060;branch=z9hG4bK113ae6bd;rport
From: "Unknown"
<sip:Unknown at 192.168.254.78>;tag=as29a6b6c1
To:
<sip:xxxx at 192.168.254.52:50254;user=phone>;tag=f147d1518b13372d
Call-ID:
087abe3f7f737c8c316525c71f25cbe4 at 192.168.254.78
CSeq: 102 INVITE
User-Agent: Grandstream BT110 1.0.7.11
Contact: <sip:xxxx at 192.168.254.52:50254;user=phone>
Allow:
INVITE,ACK,CANCEL,BYE,NOTIFY,REFER,OPTIONS,INFO,SUBSCRIBE
Content-Type: application/sdp
Supported: replaces
Content-Length: 216
SIP read from 192.168.254.52:50254:
BYE sip:Unknown at 192.168.254.78 SIP/2.0
Via: SIP/2.0/UDP
192.168.254.52:50254;branch=z9hG4bK0bb47f6f5a9cd5a0
From:
<sip:xxxx at 192.168.254.52:50254;user=phone>;tag=f147d1518b13372d
To: "Unknown"
<sip:Unknown at 192.168.254.78>;tag=as29a6b6c1
Supported: replaces
Call-ID:
087abe3f7f737c8c316525c71f25cbe4 at 192.168.254.78
CSeq: 22862 BYE
User-Agent: Grandstream BT110 1.0.7.11
Max-Forwards: 70
Allow:
INVITE,ACK,CANCEL,BYE,NOTIFY,REFER,OPTIONS,INFO,SUBSCRIBE
Content-Length: 0
___________________________________________________________
To help you stay safe and secure online, we've developed the all new Yahoo! Security Centre. http://uk.security.yahoo.com
More information about the asterisk-users
mailing list