Caller ID showing SIP Username
Posted: Wed Jun 06, 2012 4:08 am
Hi,
I am trying to set caller ID for my campaign. I have set the outbound caller id in the campaign and have configured my dialplan and account entries as follows, But when I dial the phone, The caller id is reflecting my SIP Username and not the number that i need as my outbound caller id.
Anybody faced this issue,Pls guide me where I am going wrong?
String : register=>xxxx:xxxxx@xxx.xxx.xxx.xxx:5060
Account Entry:
[XXXXX]
type=peer
diallow=all
allow=g729
username=66666
secret=xxxx
host=xxx.xxx.xxx.xxx
fromdomain=xxx.xxx.xxx.xxx
fromuser=1111112222 (Need to set this number as a caller ID)
qualify=1000
nat=yes
qualify=yes
canreinvite=yes
insecure=very
dtmfmode=rfc2833
SIP=SIP/XXXXX
Dial Plan:
exten => _X.,1,Set(CALLERID(all)=1111112222<1111112222>)
exten => _X.,2,AGI(agi://127.0.0.1:4577/call_log)
exten => _X.,3,Dial(${SIP}/${EXTEN},,tTor)
exten => _X.,4,Hangup
---------------------------------------------------------------------------------------------------------
SIP Debug Log
Via: SIP/2.0/UDP xxx.xxx.xxx.xxx:5060;branch=z9hG4bK637f03b3;rport
From: "08888888888" <sip:66666@xxx.xxx.xxx.xxx>;tag=as49bf5445
To: <sip:618888888888@xxx.xxx.xxx.xxx;cpd=on>;tag=as3ce04364
Call-ID: 5117ccf06cd207f672e023ba2f7d4fd4@xxx.xxx.xxx.xxx
CSeq: 104 BYE
User-Agent: Asterisk PBX
Max-Forwards: 70
Remote-Party-ID: "08888888888" <sip:08888888888@xxx.xxx.xxx.xxx>;privacy=off;screen=no
Proxy-Authorization: Digest username="66666", realm="asterisk", algorithm=MD5, uri="sip:618888888888@xxx.xxx.xxx.xxx", nonce="2f24399f", response="7c1c89fc34b09f8acab0c86c1a6b71b6"
X-Asterisk-HangupCause: Normal Clearing
X-Asterisk-HangupCauseCode: 16
-------------------------------------------------------------------------------------------------------------
Asterisk Version 1.4
GoAutoDial Version VERSION: 2.2.1-237 BUILD: 100510-2015
Linux g 2.6.18-194.8.1.el5.goPAE #1 SMP Fri Jul 30 05:30:57 EDT 2010 i686 i686 i386 GNU/Linux
I am trying to set caller ID for my campaign. I have set the outbound caller id in the campaign and have configured my dialplan and account entries as follows, But when I dial the phone, The caller id is reflecting my SIP Username and not the number that i need as my outbound caller id.
Anybody faced this issue,Pls guide me where I am going wrong?
String : register=>xxxx:xxxxx@xxx.xxx.xxx.xxx:5060
Account Entry:
[XXXXX]
type=peer
diallow=all
allow=g729
username=66666
secret=xxxx
host=xxx.xxx.xxx.xxx
fromdomain=xxx.xxx.xxx.xxx
fromuser=1111112222 (Need to set this number as a caller ID)
qualify=1000
nat=yes
qualify=yes
canreinvite=yes
insecure=very
dtmfmode=rfc2833
SIP=SIP/XXXXX
Dial Plan:
exten => _X.,1,Set(CALLERID(all)=1111112222<1111112222>)
exten => _X.,2,AGI(agi://127.0.0.1:4577/call_log)
exten => _X.,3,Dial(${SIP}/${EXTEN},,tTor)
exten => _X.,4,Hangup
---------------------------------------------------------------------------------------------------------
SIP Debug Log
Via: SIP/2.0/UDP xxx.xxx.xxx.xxx:5060;branch=z9hG4bK637f03b3;rport
From: "08888888888" <sip:66666@xxx.xxx.xxx.xxx>;tag=as49bf5445
To: <sip:618888888888@xxx.xxx.xxx.xxx;cpd=on>;tag=as3ce04364
Call-ID: 5117ccf06cd207f672e023ba2f7d4fd4@xxx.xxx.xxx.xxx
CSeq: 104 BYE
User-Agent: Asterisk PBX
Max-Forwards: 70
Remote-Party-ID: "08888888888" <sip:08888888888@xxx.xxx.xxx.xxx>;privacy=off;screen=no
Proxy-Authorization: Digest username="66666", realm="asterisk", algorithm=MD5, uri="sip:618888888888@xxx.xxx.xxx.xxx", nonce="2f24399f", response="7c1c89fc34b09f8acab0c86c1a6b71b6"
X-Asterisk-HangupCause: Normal Clearing
X-Asterisk-HangupCauseCode: 16
-------------------------------------------------------------------------------------------------------------
Asterisk Version 1.4
GoAutoDial Version VERSION: 2.2.1-237 BUILD: 100510-2015
Linux g 2.6.18-194.8.1.el5.goPAE #1 SMP Fri Jul 30 05:30:57 EDT 2010 i686 i686 i386 GNU/Linux