<html>
<head>
<meta content="text/html; charset=windows-1252"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<div class="moz-cite-prefix">upps .... and delete the 49 in <b>Goto(49${gotoadr:-11},1)
and </b>NoOp(**** 49${gotoadr:-11} ****)<br>
<b>just look at the cli output</b><br>
<br>
Am 02.09.2014 um 17:25 schrieb Rainer Piper:<br>
</div>
<blockquote cite="mid:5405E16B.9070208@soho-piper.de" type="cite">
<meta content="text/html; charset=windows-1252"
http-equiv="Content-Type">
<div class="moz-cite-prefix">PS all incoming calls are directed to
sipgatefilter in extentions.conf and then filtered.<br>
You maid have to adjust the -11 in <b>Goto(49${gotoadr:-11},1)
... just look at the cli output </b>NoOp(****
49${gotoadr:-11} ****)<br>
<br>
Am 02.09.2014 um 17:04 schrieb Rainer Piper:<br>
</div>
<blockquote cite="mid:5405DC61.9010106@soho-piper.de" type="cite">
<meta content="text/html; charset=windows-1252"
http-equiv="Content-Type">
<div class="moz-cite-prefix">I use in <b>pjsip.conf </b><br>
[sipgate1]<br>
type=registration<br>
transport=transport-udp<br>
outbound_auth=sipgate1_auth<br>
server_uri=<a moz-do-not-send="true"
class="moz-txt-link-freetext" href="sip:sipgate.de">sip:sipgate.de</a><br>
client_uri=<a moz-do-not-send="true"
class="moz-txt-link-freetext"
href="sip:555123456@sipgate.de">sip:555123456@sipgate.de</a><br>
contact_user=<b>sipgatefilter</b> ; <b>goto the filter in
extensions.conf</b><br>
retry_interval=60<br>
forbidden_retry_interval=600<br>
expiration=3600<br>
<br>
<b>extensions.conf</b> ; i'm cutting the dialed number out of
the invite Header and goto/jump to the extensions<br>
; incoming VOIP 9716716x SIPGATE<br>
exten => sipgatefilter,1,NoOp(*** ${PJSIP_HEADER(read,To)}
*** ${CALLERID(num)} ***)<br>
same =>
n,Set(gotoadr=${CUT(PJSIP_HEADER(read,To),@,1)})<br>
same => n,NoOp(**** 49${gotoadr:-11} ****)<br>
same => n,<b>Goto(49${gotoadr:-11},1)</b><br>
<br>
; the filter is jumping to the extensions ...<br>
<br>
; incoming VOIP 97167160 SIPGATE -> MENU<br>
exten => 4922897167160,1,Dial(PJSIP/<a
moz-do-not-send="true" class="moz-txt-link-freetext"
href="sip:$">sip:$</a>{<a moz-do-not-send="true"
class="moz-txt-link-abbreviated"
href="mailto:EXTEN%7D@sip.soho-piper.de&PJSIP/7000&PJSIP/7004&PJSIP/7003&PJSIP/7005,,r">EXTEN}@sip.soho-piper.de&PJSIP/7000&PJSIP/7004&PJSIP/7003&PJSIP/7005,,r</a>)<br>
; incoming VOIP 97167161 SIPGATE<br>
exten =>
4922897167161,1,Dial(PJSIP/7000&PJSIP/7001&PJSIP/7003&PJSIP/7004,,r)<br>
; incoming VOIP 97167162 SIPGATE ECHO TEST<br>
exten => 4922897167162,1,Dial(PJSIP/<a
moz-do-not-send="true" class="moz-txt-link-freetext"
href="sip:$">sip:$</a>{<a moz-do-not-send="true"
class="moz-txt-link-abbreviated"
href="mailto:EXTEN%7D@sip.soho-piper.de&PJSIP/7000,,r">EXTEN}@sip.soho-piper.de&PJSIP/7000,,r</a>)<br>
; incoming VOIP 97167163 SIPGATE<br>
exten => 4922897167163,1,Dial(PJSIP/<a
moz-do-not-send="true" class="moz-txt-link-freetext"
href="sip:$">sip:$</a>{<a moz-do-not-send="true"
class="moz-txt-link-abbreviated"
href="mailto:EXTEN%7D@sip.soho-piper.de&PJSIP/7000,,r">EXTEN}@sip.soho-piper.de&PJSIP/7000,,r</a>)<br>
; incoming VOIP 97167164 SIPGATE<br>
exten => 4922897167164,1,Dial(PJSIP/<a
moz-do-not-send="true" class="moz-txt-link-freetext"
href="sip:$">sip:$</a>{<a moz-do-not-send="true"
class="moz-txt-link-abbreviated"
href="mailto:EXTEN%7D@sip.soho-piper.de&PJSIP/7000,,r">EXTEN}@sip.soho-piper.de&PJSIP/7000,,r</a>)<br>
; incoming VOIP 97167165 SIPGATE<br>
exten => 4922897167165,1,Dial(PJSIP/<a
moz-do-not-send="true" class="moz-txt-link-freetext"
href="sip:$">sip:$</a>{<a moz-do-not-send="true"
class="moz-txt-link-abbreviated"
href="mailto:EXTEN%7D@sip.soho-piper.de&PJSIP/7000,,r">EXTEN}@sip.soho-piper.de&PJSIP/7000,,r</a>)<br>
; incncoming VOIP 97167166 Mailbox<br>
exten => 4922897167166,1,Dial(PJSIP/<a
moz-do-not-send="true" class="moz-txt-link-freetext"
href="sip:$">sip:$</a>{<a moz-do-not-send="true"
class="moz-txt-link-abbreviated"
href="mailto:EXTEN%7D@sip.soho-piper.de&PJSIP/7000,,r">EXTEN}@sip.soho-piper.de&PJSIP/7000,,r</a>)<br>
; incoming VOIP 97167167 CONF. 1<br>
exten => 4922897167167,1,Dial(PJSIP/<a
moz-do-not-send="true" class="moz-txt-link-freetext"
href="sip:$">sip:$</a>{<a moz-do-not-send="true"
class="moz-txt-link-abbreviated"
href="mailto:EXTEN%7D@sip.soho-piper.de&PJSIP/7000,,r">EXTEN}@sip.soho-piper.de&PJSIP/7000,,r</a>)<br>
; incoming VOIP 97167168 CONF. 2<br>
;exten => 4922897167168,1,Dial(PJSIP/<a
moz-do-not-send="true" class="moz-txt-link-freetext"
href="sip:$">sip:$</a>{<a moz-do-not-send="true"
class="moz-txt-link-abbreviated"
href="mailto:EXTEN%7D@sip.soho-piper.de&PJSIP/7000,,r">EXTEN}@sip.soho-piper.de&PJSIP/7000,,r</a>)<br>
exten => 4922897167168,1,Answer<br>
same => n,echo()<br>
same => n,Hangup()<br>
; incoming VOIP 97167169 FAX<br>
;exten => 4922897167169,1,Dial(PJSIP/${<a
moz-do-not-send="true" class="moz-txt-link-abbreviated"
href="mailto:EXTEN%7D@sip.soho-piper.de&PJSIP/7000,,r">EXTEN}@sip.soho-piper.de&PJSIP/7000,,r</a>)<br>
<br>
<br>
Regards<br>
Rainer<br>
<br>
Am 02.09.2014 um 15:08 schrieb Joshua Colp:<br>
</div>
<blockquote cite="mid:5405C13B.2070701@digium.com" type="cite">Nick
Awesome wrote: <br>
<blockquote type="cite">register => 73432260005:pass@10001
<br>
register => 73432260050:pass@10002 <br>
<br>
[10001] <br>
type=peer <br>
host=80.75.132.66 <br>
context=dialmap <br>
[10002] <br>
type=peer <br>
host=80.75.132.66 <br>
context=dialmap <br>
</blockquote>
<br>
Can you provide a sip debug of calls to both of these? I'm
confused how that... works... <br>
<br>
</blockquote>
<br>
<br>
<div class="moz-signature">-- <br>
<b>Rainer Piper</b> <br>
Integration engineer <br>
Koeslinstr. 56 <br>
53123 BONN <br>
GERMANY <br>
Phone: +49 228 97167161 <br>
P2P: <a moz-do-not-send="true" class="moz-txt-link-freetext"
href="sip:7000@sip.soho-piper.de:5072">sip:7000@sip.soho-piper.de:5072</a>
(pjsip-test)</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
</blockquote>
<br>
<br>
<div class="moz-signature">-- <br>
<b>Rainer Piper</b> <br>
Integration engineer <br>
Koeslinstr. 56 <br>
53123 BONN <br>
GERMANY <br>
Phone: +49 228 97167161 <br>
P2P: <a moz-do-not-send="true" class="moz-txt-link-freetext"
href="sip:7000@sip.soho-piper.de:5072">sip:7000@sip.soho-piper.de:5072</a>
(pjsip-test)</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
</blockquote>
<br>
<br>
<div class="moz-signature">-- <br>
<b>Rainer Piper</b>
<br>
Integration engineer
<br>
Koeslinstr. 56
<br>
53123 BONN <br>
GERMANY
<br>
Phone: +49 228 97167161
<br>
P2P: <a class="moz-txt-link-freetext" href="sip:7000@sip.soho-piper.de:5072">sip:7000@sip.soho-piper.de:5072</a> (pjsip-test)</div>
</body>
</html>