Dialing Straight from A Softphone & CID

All installation and configuration problems and questions

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

Dialing Straight from A Softphone & CID

Postby bmorrison » Tue Sep 15, 2009 2:55 am

Greetings,

We're running 2.0.5-174 here, and have been happy with it. We come away impressed with all the features and power available to use through vicidial.

However, our upstream provider has become more strict with the caller id passed to them from the dialer, which normally isn't a problem but some of our agents like to dial directly from their softphone instead of using the manual dial interface in vici (for customer support calls or quick calls to other offices). So, calls that used to go through when dialed directly from a softphone are now rejected.

This is what the sip trace shows when an agent tries to dial directly from their softphone (IP addresses are partially occluded):

Code: Select all
U 24.120.183.XXX:5060 -> 69.71.55.XXX:5060
INVITE sip:1702235XXXX@69.71.55.XXX SIP/2.0.
Via: SIP/2.0/UDP 24.120.183.XXX:5060;branch=z9hG4bK430163b1;rport.
From: "5004" <sip:cc5004@24.120.183.XXX>;tag=as22e07885.
To: <sip:17022353166@69.71.55.XXX>.
Contact: <sip:cc5004@24.120.183.XXX>.
Call-ID: 199f8a2f23f06d030b3711224429ff28@24.120.183.XXX.
CSeq: 102 INVITE.
User-Agent: Asterisk PBX.
Max-Forwards: 70.
Remote-Party-ID: "5004" <sip:cc5004@24.120.183.XXX>;privacy=off;screen=no.
Date: Mon, 14 Sep 2009 17:33:01 GMT.
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY.
Content-Type: application/sdp.
Content-Length: 218.


Any ideas on how to get asterisk to pass the correct (or heck, any) CID without breaking vici?
bmorrison
 
Posts: 94
Joined: Wed Jul 09, 2008 11:26 pm
Location: United States

Re: Dialing Straight from A Softphone & CID

Postby okli » Tue Sep 15, 2009 6:52 am

bmorrison wrote:...Any ideas on how to get asterisk to pass the correct (or heck, any) CID without breaking vici?
I'd put softphones in another context in extensions.conf. Rewrite callerID in that context only.
Don't touch Vicidial context.
okli
 
Posts: 671
Joined: Mon Oct 01, 2007 5:09 pm

Postby bmorrison » Tue Sep 15, 2009 9:36 am

I'll try that today, thanks!
bmorrison
 
Posts: 94
Joined: Wed Jul 09, 2008 11:26 pm
Location: United States

Postby bmorrison » Tue Sep 15, 2009 2:17 pm

Okay, so I created a custom context with the CID I wanted and then created a phone template to point to that new context. After a little trial-and-error everything worked like a charm.

Thanks!
bmorrison
 
Posts: 94
Joined: Wed Jul 09, 2008 11:26 pm
Location: United States

Postby Op3r » Tue Sep 15, 2009 3:36 pm

better yet do this

put this on the phone override :D

for example you set up your phone extension cc132

then put this on conf_override

username=cc132
secret=test
mailbox=132
context=default
type=friend
host=dynamic
callerid=2127773456

Enjoy :D
Get paid for US outbound Toll Free calls. PM me. visit https://stopmanualdial.com for vicidial services.
Op3r
 
Posts: 1432
Joined: Wed Jun 07, 2006 7:53 pm
Location: Manila

Postby bmorrison » Tue Sep 15, 2009 6:17 pm

Yikes is that better? Should I dump the custom context and do that instead?
bmorrison
 
Posts: 94
Joined: Wed Jul 09, 2008 11:26 pm
Location: United States


Return to Support

Who is online

Users browsing this forum: Google [Bot] and 74 guests