I have a situation where I need to know which Zap channel an incoming call is on, so that the call can be answered appropriately when a SIP phone displays the channel. These Zap calls are coming in over PSTN and don't have caller ID. As far as I can make out my SIP phones (WuChuan HOP-1002) display the user part from the SIP "From:" header as the second line on the display. If the call comes from another SIP phone then this shows as the phone's number, but when the call comes in over the Zap channels then it gets generated as "asterisk". I tried playing with the realm field in sip.conf, which defaults to "asterisk", but changing that doesn't do anything for me. So, my question is: How do I set the user part of the SIP From: header to be the Zap channel? -- Howard. LANNet Computing Associates; Your Linux people <http://www.lannetlinux.com> ------------------------------------------ "When you just want a system that works, you choose Linux; when you want a system that just works, you choose Microsoft." ------------------------------------------ "Flatter government, not fatter government; Get rid of the Australian states."
I'm having an issue when I transfer a call to another SIP extension it sees that the sip phone is not there and goes to voicemail but in my case it transfers to the main voicemail instead of the users voicemail. Here is what my SIP extensions look like in the extension.conf file exten => 3957,1,Dial(${Theresa},20,Tt) exten => 3957,2,VoicemailMain2(u${TheresaVM}) exten => 3957,3,Hangup exten => 3957,102,VoicemailMain2(b${TheresaVM}) exten => 3957,103,Hangup
On Thu, 2005-01-13 at 10:20 +1100, Howard Lowndes wrote:> I have a situation where I need to know which Zap channel an incoming > call is on, so that the call can be answered appropriately when a SIP > phone displays the channel. These Zap calls are coming in over PSTN and > don't have caller ID. > > As far as I can make out my SIP phones (WuChuan HOP-1002) display the > user part from the SIP "From:" header as the second line on the > display. If the call comes from another SIP phone then this shows as > the phone's number, but when the call comes in over the Zap channels > then it gets generated as "asterisk".AFAIK, this is the default callerid asterisk uses when it doesn't receive callerid. Try adding setcallerid in your dialplan, or callerid in your zapata.conf for each channel. Regards, Adam