|Summary:||ASTERISK-09490: Set(CALLERID(num)=xxx) on SIP trunk not working, but on IAX works fine|
|Reporter:||John Babina (versimedia)||Labels:|
|Date Opened:||2007-05-22 11:59:13||Date Closed:||2007-05-22 12:45:07|
|Description:||Provider: VoicePulse Connect|
Situation, call comes in to Asterisk server, and I immediately Dial out to another number.
Before dialing, I do:
If dialing through IAX2, this works fine and I see 203-653-9999 on end call. If dialing through SIP, I see the Caller ID info from the original caller.
The only thing I change between tests is changing "IAX2" to "SIP" in two outgoing lines.
If I do:
In SIP both the name and number appear as 203-653-9999.
I have contacted VoicePulse and they ran packet checks on the calls as they came in with different scenarios -- the data seems to be set on the "invite" packets, so they say it is before they would make any changes.
It seems as if the Set(CALLERID(num)=) option is not changing the data in the SIP protocol for some reason but is under IAX2. The other strange thing is if I set (name) to a number, both the number and name come up as the number set.
This is reproducible 100% of the time.
There are no other CALLERID or SetCallerID lines in the files, I scanned all under unix to confirm.
****** ADDITIONAL INFORMATION ******
More info available here:
also here is a trace showing I am setting CALLERID(num), the data that comes through on the end phone is the source number and name, not the new set #. Voicepulse said that they are seeing the source number come through to them and do not see any indication of the new number.
-- Executing [12036531111@voicepulse-in:1] Answer("SIP/MUQ19HgW36-081cxxxx", "") in new stack
-- Executing [12036531111@voicepulse-in:2] Dial("SIP/MUQ19HgW36-081cxxxx", "Local/12038384444@outgoing/n") in new stack
-- Called 12038384444@outgoing/n
-- Executing [12038384444@outgoing:1] NoOp("Local/12038384444@outgoing-3ab6,2", "") in new stack
-- Executing [12038384444@outgoing:2] Set("Local/12038384444@outgoing-3ab6,2", "CALLERID(num)=2036539999") in new stack
-- Executing [12038384444@outgoing:3] Goto("Local/12038384444@outgoing-3ab6,2", "outgoing2|12038384444|1") in new stack
-- Goto (outgoing2,12038384444,1)
-- Executing [12038384444@outgoing2:1] NoOp("Local/12038384444@outgoing-3ab6,2", "") in new stack
-- Executing [12038384444@outgoing2:2] Dial("Local/12038384444@outgoing-3ab6,2", "SIP/12038384444@voicepulse03") in new s
-- Called 12038384444@voicepulse03
-- SIP/voicepulse03-081cd4f8 is making progress passing it to Local/12038384444@outgoing-3ab6,2
-- Local/12038384444@outgoing-3ab6,1 is making progress passing it to SIP/MUQ19HgW36-081cxxxx
== Spawn extension (voicepulse-in, 12036531111, 2) exited non-zero on 'SIP/MUQ19HgW36-081cxxxx'
== Spawn extension (outgoing2, 12038384444, 2) exited non-zero on 'Local/12038384444@outgoing-3ab6,2'