Hello,
I am having a problem with an call openend from the siptapi application
(http://www.enum.at/SIP-TAPI.479.0.html) to a phone which is refered to
another external number after the phone picks up. I see in the Sip
Traffic that everything is fine with the exosip client used in siptapi
and the phone. There is the right accountcode and everything runs fine.
When i pick up the phone, the siptapi app. sends a REFER Msg to transfer
the call to another external number (selected in outlook or any other
Tapi Application). The Problem is that there is no ACCOUNTCODE after the
Refer.
I´ve set the accountcode with Set(cdr(accountcode)=${ACCOUNTCODE})
before the dial cmd to the phone.
Could it be a problem that the sip communication is from and to the same
user? This is to identifie the right phone to call.
log from the refer sip msg:
<-- SIP read from 213.xxx.xxx.xxx:19446:
REFER sip:[EMAIL PROTECTED] SIP/2.0
Via: SIP/2.0/UDP 213.xxx.xxx.xxx:19385;rport;branch=z9hG4bK1049241783
From: <sip:[EMAIL PROTECTED]>;tag=1938473161
To: <sip:[EMAIL PROTECTED]>;tag=as29ecef02
Call-ID: [EMAIL PROTECTED]
CSeq: 22 REFER
Contact: <sip:[EMAIL PROTECTED]:19385>
Proxy-Authorization: Digest username="USERA", realm="pbx",
nonce="39a1b190", uri="sip:[EMAIL PROTECTED]",
response="232b7ea298aeb97396c5e42aeeecbffc", algorithm=MD5
Max-Forwards: 5
User-Agent: eXosip/0.1
Refer-to: sip:[EMAIL PROTECTED]
Referred-By: sip:[EMAIL PROTECTED]
Content-Length: 0
--- (13 headers 0 lines)---
Transfer to 0043zzzzzzzzzz in outcust
Transfer from USERA in outcust
Client: 213.xxx.xxx.xxx
Server: 213.xxx.xxx.yyy
USERA the client
-- Executing Set("SIP/USERA-097e4550", "ACCUSER=") in new stack
-- Executing Set("SIP/USERA-097e4550", "CDR(accountcode)="
here the Var ACCUSER and CDR(accountcode) should be set with the
${ACCOUNTCODE} which is empty.
I hope someone could see an error i havent found.
Best Regards
Steve Smith
--
Für weitere Fragen stehen wir gerne unter [EMAIL PROTECTED] oder
059944 - 2440 zur Verfügung.
Mit freundlichen Grüssen
--
Stefan Schmidt
Sysadmin/VOIP // [EMAIL PROTECTED] // Tel 059944-2440//
-------------------------------------------------
SILVER SERVER GmbH // Lorenz-Mandl-Gasse 33/1 //
A-1160 Wien // Fax 059944-9000 // www.sil.at //
-------------------------------------------------
_______________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users