| Asterisk Support Forum Technical support, how-to guides, troubleshooting, and general assistance, from beginner to seasoned pro, this is where to discuss Asterisk, the most powerful open source PBX. |  | 
July 24th, 2006, 08:13 PM
| | Junior Member | | Join Date: May 2005
Posts: 14
| | Telasip caller ID problem Hello,
I am using a Telasip account for an outbound line. I need to change the caller ID number to match an inbound line. I have done this with Telasip numbers before without problems, but can't seem to get it to work with this system. I asked Telasip support and they said whatever I am sending is being passed through. I am using Asterisk, and I am reasonably sure that the programming is correct, but the caller ID continues to display the original Telasip number. I also have three Broadvoice lines programmed into the system. Everything works exactly the way it is supposed to except the caller ID on the Telasip line.
I am using Asterisk 1.0.9.
Here are snippets of my config files:
sip.conf:
[telasip-out]
type=peer
username=user
secret=password
port=5060
host=gw4.telasip.com
context=in-sip
relaxdtmf=yes
qualify=yes
canreinvite=no
insecure=very
sendrpid=yes
dtmfmode=rfc2833
In extensions.conf:
[incoming]
exten=>s,1,Dial(SIP/100&SIP/200,25)
exten=>s,2,Answer
exten=>s,3,Wait,1
exten=>s,4,Background(ao-intro)
exten=>s,5,Background(ao-instruct)
exten=>s,6,responsetimeout(10)
exten=>301,1,SetCIDNum(xxxxxxxx94)
exten=>301,2,Dial(SIP/xxxxxxxx73@telasip-out,30)
exten=>301,3,Hangup
The objective here is to have an incoming call forwarded to my cell phone when the caller enters extension 301. The call goes through OK, but with the original Telasip number in caller ID, not the number I am trying to send. Any assistance would be greatly appreciated.
Thank You | 
July 25th, 2006, 03:42 AM
| | Senior Member | | Join Date: Jul 2005
Posts: 362
| | RE: Telasip caller ID problem It might be an Asterisk 1.0.x <-> Asterisk 1.2.x issue. Somewhere in the back of my mind, I remember there was a change in handling Remote-Party-ID in v1.2.x.
You might want to try giving a complete SIP conversation session (SIP INVITE, TRYING responses, OK reponses, BYE reponses) to Telesip so they could see the Remote-Party-ID that you are sending to them.
See ya...
d.c. | 
July 25th, 2006, 11:13 PM
| | Senior Member | | Join Date: Dec 2004
Posts: 192
| | Re: Telasip caller ID problem Quote: |
Originally Posted by rdmoore Hello,
exten=>301,1,SetCIDNum(xxxxxxxx94)
exten=>301,2,Dial(SIP/xxxxxxxx73@telasip-out,30)
exten=>301,3,Hangup
Thank You | Try this instead: (on asterisk 1.2 or >)
exten=>301,1,Set(CALLERID(num)<xxxxxxxx94>)
or
exten=>301,1,Set(CALLERID(all)<xxxxxxxx94>)
and/or
exten=>301,1,Set(CALLERID(ani)<xxxxxxxx94>)
also - somewhere between version 1.1 and 1.2 it was (however, it is still working for me using either of them in 1.2.9.1) it was:
exten=>301,1,SetCallerID("Name"<xxxxxxxx94>|a)
The |a is optional and is used to set ANI (but it's very doubtful your provider will pass this along---to test dial 877-823-2565 (if it never answers, ring ring ring, your provider is issuing an ani fail (or ani II of 02) - if you hear a number, and that number is your spoofed number, you're in luck - if you hear a number and that number isn't one you own, then it's probably your providers outgoing number(s).) | 
July 27th, 2006, 10:18 AM
| | Senior Member | | Join Date: Jul 2005
Posts: 269
| | RE: Re: Telasip caller ID problem This works for me: Code: exten => 422,6,Read(CID,ha/callerid,10)
exten => 422,7,Read(NUM2CALL,pls-entr-num-uwish2-call,10)
exten => 422,8,SetCallerID(${CID})
exten => 422,9,Playback(pls-wait-connect-call)
exten => 422,10,Dial(SIP/${NUM2CALL}@telasip-gw)
| 
July 27th, 2006, 06:41 PM
| | Member | | Join Date: Oct 2005
Posts: 31
| | RE: Re: Telasip caller ID problem I had a problem with that before and somehow their system had cached my outgoing caller id. I ask them to dump the cashe and everything was find from that point on. |  | | Thread Tools | | | | Display Modes | Rate This Thread | Linear Mode | |
Posting Rules
| You may not post new threads You may not post replies You may not post attachments You may not edit your posts HTML code is Off | | | |