Caller ID showing SIP Username

All installation and configuration problems and questions

Moderators: gerski, enjay, williamconley, Op3r, Staydog, gardo, mflorell, MJCoate, mcargile, Kumba, Michael_N

Caller ID showing SIP Username

Postby sayzameer » 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
sayzameer
 
Posts: 9
Joined: Sat May 26, 2012 2:04 am

Re: Caller ID showing SIP Username

Postby striker » Sat Jun 09, 2012 9:42 am

if you set callerid in campaign then no need of this line in your dialplan

exten => _X.,1,Set(CALLERID(all)=1111112222<1111112222>)
www.striker24x7.com www.youtube.com/c/striker24x7 Telegram/skype id : striker24x7
striker
 
Posts: 962
Joined: Sun Jun 06, 2010 10:25 am

Re: Caller ID showing SIP Username

Postby sayzameer » Mon Jul 09, 2012 1:11 am

Hi,

You were correct, It worked...but I have a different problem relating to this....I have a made a new post since previously I thought its two different issues...

Can you check this post : viewtopic.php?f=4&t=25320


Thanks.
sayzameer
 
Posts: 9
Joined: Sat May 26, 2012 2:04 am


Return to Support

Who is online

Users browsing this forum: No registered users and 111 guests