<div style="font-family:Arial;font-size:14px"><div style="font-family: Arial; font-size: 14px;"><span style="font-family: monospace;">Did move 0317998975 phone from my home to my office, didnt need any:<br />nat=yes in sip.conf, everything worked.<br />I did also add callcounter=yes in sip.conf so I am not sure how it<br />will work when I move the phone to my home and need nat=yes again.<br />Will do some tests later tonight when I am at home.<br /></span></div>
<p>On Sun, 13 Dec 2009 14:25:39 +0100, Magnus Benngård <magnus.b@inputinterior.se> wrote:</p>
<blockquote style="border-left: 2px solid #1010ff; padding-left: 5px; margin-left: 5px; width: 100%;">
<div style="font-family:Arial;font-size:14px">
<div style="font-family: Arial; font-size: 14px;"><span style="font-family: monospace;">Hi!<br /><br />Trying to figure out what I am doing wrong...<br /><br />1 std SIP phone (0317998975) registered to an Asterisk (SVN-trunk-r234256)<br />1 Cell phone 00733025975 attached through H323.<br /><br />extensions.conf<br />exten => 975,1,Goto(975-${DEVICE_STATE(SIP/0317998975)},1)<br />exten => 975-INUSE,1,VoiceMail(0317998975@inputinterior.se,bs)<br />exten => 975-INUSE,2,Hangup()<br />exten => 975-NOANSWER,1,VoiceMail(0317998975@inputinterior.se,us)<br />exten => 975-NOANSWER,2,Hangup()<br />exten => 975-NOT_INUSE,1,Dial(SIP/0317998975&H323/00733025975@Avaya,20)<br />exten => 975-NOT_INUSE,2,Goto(975-${DIALSTATUS},1)<br />exten => 975-NOT_INUSE,3,Hangup()<br /><br />When calling 975, both SIP and cell phone starts to ring.<br />Answering on the SIP phone, cell phone stop ringing.<br />Answering on the cell phone, SIP phone keeps ringing.<br />If not answering any, cell phone stops ringing after 20 sec but<br />SIP phone just keeps ringing.<br /><br /> == Using UDPTL CoS mark 5<br /> -- Executing [975@inputinterior.se:1] Goto("SIP/0317998985-0000005e", "975-NOT_INUSE,1") in new stack<br /> -- Goto (inputinterior.se,975-NOT_INUSE,1)<br /> -- Executing [975-NOT_INUSE@inputinterior.se:1] Dial("SIP/0317998985-0000005e", "SIP/0317998975&H323/00733025975@Avaya,20") in new stack<br /> == Using UDPTL CoS mark 5<br /> -- Called 0317998975<br /> -- Requested transfer capability: 0x00 - SPEECH<br /> -- Called 00733025975@Avaya<br /> -- SIP/0317998975-0000005f is ringing<br /> -- H323/Avaya-16 is making progress passing it to SIP/0317998985-0000005e<br /> -- H323/Avaya-16 is making progress passing it to SIP/0317998985-0000005e<br /> -- H323/Avaya-16 is ringing<br /> -- Nobody picked up in 20000 ms<br /> -- Executing [975-NOT_INUSE@inputinterior.se:2] Goto("SIP/0317998985-0000005e", "975-NOANSWER,1") in new stack<br /> -- Goto (inputinterior.se,975-NOANSWER,1)<br /> -- Executing [975-NOANSWER@inputinterior.se:1] VoiceMail("SIP/0317998985-0000005e", "0317998975@inputinterior.se,us") in new stack<br /> -- Playing '/var/spool/asterisk/voicemail/inputinterior.se/0317998975/unavail.slin' (language 'se')<br /> -- Playing 'beep.gsm' (language 'se')<br /> -- Recording the message<br /> -- x=0, open writing: /var/spool/asterisk/voicemail/inputinterior.se/0317998975/tmp/EKTi4P format: wav, 0x8c448d0<br /> -- User hung up<br /> == Spawn extension (inputinterior.se, 975-NOANSWER, 1) exited non-zero on 'SIP/0317998985-0000005e'<br /><br /></span><br /></div>
</div>
</blockquote>
<p> </p></div>