Hi,

fyi, I use Asterisk 1.2.9.1
In some scenarios, we receive call from PSTN without Callerd ID Name (which
is normal).
I would like to transfer this call to another softswitch. Again, I would
like to let this this CallerID Name Empty.

If I look at the logs, I can see

   -- Executing Macro("SIP/localdomain.com-b79242f0", "set-callerid-name")
in new stack
   -- Executing Set("SIP/localdomain.com-b79242f0", "CALLERNAME_TMP=") in
new stack
   -- Executing GotoIf("SIP/localdomain.com-b79242f0", "1?format_empty|1")
in new stack
   -- Goto (macro-set-callerid-name,format_empty,1)
   -- Executing Set("SIP/localdomain.com-b79242f0", "CALLERNAME=") in new
stack
   -- Executing Goto("SIP/localdomain.com-b79242f0", "set_callername|1") in
new stack
   -- Goto (macro-set-callerid-name,set_callername,1)
   -- Executing Set("SIP/localdomain.com-b79242f0", "CALLERID(name)=") in
new stack

So, it should be alright!
Then I forward the call:

   -- Executing Dial("SIP/localdomain.com-b79242f0", "
SIP/990003726831598@<next-hop>|30") in new stack

And if I look into SIP debug mode:

Adding codec 0x8 (alaw) to SDP
Adding codec 0x4 (ulaw) to SDP
Adding non-codec 0x1 (telephone-event) to SDP
14 headers, 11 lines
Reliably Transmitting (no NAT) to XXX:5060:
INVITE sip:[EMAIL PROTECTED] SIP/2.0
Via: SIP/2.0/UDPXXX:5060;branch=z9hG4bK6dfcce4c;rport
From: *"0037253415630"* <sip:[EMAIL PROTECTED]>;tag=as4479803d
To: <sip:[EMAIL PROTECTED]>
Contact: <sip:[EMAIL PROTECTED]>
Call-ID: [EMAIL PROTECTED]
CSeq: 102 INVITE
User-Agent: GSMDuo-VM
Max-Forwards: 70
Date: Thu, 01 Mar 2007 11:05:04 GMT
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY
P-Asserted-Identity: <sip:[EMAIL PROTECTED]>
Content-Type: application/sdp
Content-Length: 236


As you can see, name is set ! eventhough callerid(name)= ....
Is it a bug ?
How can I really clear this callerid(name) ?
How to prevent Asterisk to put back as Name, the number ?


Thanks for your kind return !

Regards,

Jean -Marc
   -- Called [EMAIL PROTECTED]
_______________________________________________
--Bandwidth and Colocation provided by Easynews.com --

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Reply via email to