[Asterisk-Users] Asterisk 1.2.2 - Double Quote on CallerID Causing
SIP Problem (7940)
Gavin Adams
me at gavinadams.org
Sat Jan 21 09:35:02 MST 2006
Hi,
I just upgraded by 1.0.x home server to 1.2.2. Overall the upgrade went
fine, but a strange problem has cropped up with the CALLERID name value of
incoming calls from the X101P card. When an incoming call is presented (via
Vonage ATA), the calledid value getting double quotes up from:
-- Executing NoOp("Zap/1-1", """WIRELESS CALLE" <1404xxxxxxx>") in new stack
^^
There are two double quotes at the beginning of the CALLERID name and one at
the end.
-- Executing Dial("Zap/1-1", "SIP/1000|15|j") in new stack
-- Called 1000
-- Got SIP response 400 "Bad Request" back from 172.16.200.32
And then the phone rejects the call based on a malformed From: header.
The from-pstn context is really simple at this point:
[from-pstn]
; CALLS FROM PSTN NETWORK
;
;exten => s,1,VoicemailMain2
exten => s,1,NoOp(${CALLERID})
exten => s,2,Dial(${SIP_PHONE},15,j)
exten => s,3,Voicemail(u1000) ; Gavin's voicemail, unavailable
exten => s,4,Hangup
exten => s,103,Voicemail(b1000) ; On the phone
exten => s,104,Hangup
My Zapata.conf file hasn't changed since 1.0.x and looks like the following:
[channels]
; entries are inherited
; added this to see if it could be the culprit. Setting it to a known value
; such as "Test" <(800) 555-1212> does work (but then I lose the actual
; value
callerid=asreceived
callwaiting=yes
callwaitingcallerid=yes
threewaycalling=yes
transfer=yes
cancallforward=yes
echocancel=yes
echocancelwhenbridged=no
rxgain=0.0
txgain=0.0
group=1
; overkill in testing
callerid=asreceived
busydetect=yes
context=from-pstn
signalling=fxs_ks
channel=>1
group=2
context=internal
signalling=fxo_ks
mailbox=1000
callerid="My name" <404 xxx xxxx>
channel=>2
I'm running this under CentOS 4.2, fully yumified. Not being familiar with
the 1.2 syntax, should I be looking in zaptel or asterisk to figure this
out?
I'll try to rebuild and install zaptel. Maybe the extra quote is coming from
a mismatched version?
Regards,
--- Gavin Adams
More information about the asterisk-users
mailing list