This Question is Not Answered

1 "correct" answer available (5 pts) 2 "helpful" answers available (1 pts)
6 Replies Last post: Jan 20, 2009 3:53 PM by mpicher  
Click to view mpicher's profile   40 posts since
Dec 28, 2008

Jan 12, 2009 12:26 PM

Trying to get Trunk Registered to provider

Hopefully somebody can make some sense of this... trying to get a SIP trunk registered to a provider that has a MetaSwitch.

The OpenSBC registration screen is showing:

sip:207xxxxxxx@ITSPsuppliedDomain sip:207xxxxxxx@my.ext.ip.addr:5066 1af13e14-33df-dd11-8af6-f60ac5a86319@172.16.12.100 SIP/2.0 401 Unauthorized

log:


2009/01/12 17:17:39.079 PWL: [CID=0x00000000] Configuration change detected
2009/01/12 17:17:39.079 PWL: [CID=0x00000000] Setting SIP Log Level to 1
2009/01/12 17:17:39.080 PWL: [CID=0x00000000] Setting PTRACE Log Level to 1
2009/01/12 17:17:39.082 PWL: [CID=0x00000000] Appending route: sip:xyzcompany.com;domain=xyzcompany.com
2009/01/12 17:17:39.082 PWL: [CID=0x00000000] Appending route: sip:xyzcompany.com;domain:xyzcompany.com
2009/01/12 17:17:39.084 PWL: [CID=0x00000000] Appending route: sip:xyzcompany.com
2009/01/12 17:17:39.085 PWL: [CID=0x00000000] Appending route: sip:xyzcompany.com
2009/01/12 17:17:39.086 PWL: [CID=0x00000000] Appending route: sip:172.16.1.2:5060
2009/01/12 17:17:39.086 PWL: [CID=0x00000000] Appending route: sip:172.16.1.2:5060
2009/01/12 17:17:42.689 INF: [CID=0x09bacb59] <<< OPTIONS sip:metaswitch@my.ext.ip.addr:5060;transport=udp SIP/2.0 Method(OPTIONS) SRC: ip.addr.of.provider.pbx:5060:UDP enc=0 bytes=566
2009/01/12 17:17:42.693 INF: [CID=0x09bacb59] >>> SIP/2.0 200 OK Method(OPTIONS) DST: ip.addr.of.provider.pbx:5060:UDP SRC=my.ext.ip.addr:5061 enc=0 bytes=429
2009/01/12 17:18:12.741 INF: [CID=0x3164c71e] <<< OPTIONS sip:metaswitch@my.ext.ip.addr:5060;transport=udp SIP/2.0 Method(OPTIONS) SRC: ip.addr.of.provider.pbx:5060:UDP enc=0 bytes=566
2009/01/12 17:18:12.746 INF: [CID=0x3164c71e] >>> SIP/2.0 200 OK Method(OPTIONS) DST: ip.addr.of.provider.pbx:5060:UDP SRC=my.ext.ip.addr:5061 enc=0 bytes=429
2009/01/12 17:18:22.365 INF: [CID=0xb564eca7] <<< INVITE sip:207xxxxxxx@my.ext.ip.addr:5060;transport=udp SIP/2.0 Method(INVITE) SRC: ip.addr.of.provider.pbx:5060:UDP enc=0 bytes=774
2009/01/12 17:18:22.369 INF: [CID=0xb564eca7] *** CREATED (UAS) CALL *** c7a6142a4d47c1beb9bcd47bc414c72f
2009/01/12 17:18:22.370 INF: [CID=0xb564eca7] *** NO REGISTRATION FOUND *** Fetching route through local database URI sip:2077102176@my.ext.ip.addr
2009/01/12 17:18:22.371 INF: [CID=0xb564eca7] *** NO STATIC ROUTE *** URI sip:2077102176@my.ext.ip.addr
2009/01/12 17:18:22.373 INF: [CID=0xb564eca7] *** CALL TEAR DOWN *** c7a6142a4d47c1beb9bcd47bc414c72f-connection
2009/01/12 17:18:22.374 INF: [CID=0xb564eca7] *** B2BUA CONNECTION OnDestroySession ***
2009/01/12 17:18:22.376 INF: [CID=0xb564eca7] >>> SIP/2.0 100 Trying Method(INVITE) DST: ip.addr.of.provider.pbx:5060:UDP SRC=my.ext.ip.addr:5061 enc=0 bytes=370
2009/01/12 17:18:27.377 INF: [CID=0xb564eca7] *** DESTROYED B2BUA CONNECTION *** 0x0x8d373e0
2009/01/12 17:18:27.378 INF: [CID=0xb564eca7] *** COUNTERS *** ICT=0 NICT=0 IST=1 NIST=1 TIMERS=3 CALL=0 CONN=0 REG=1 RTP=0 QUEUE=1 CACHE=1 GC=5 TOTALCONN=17 TOTALREG=1 TOTALSZR=0 AVGDUR=0 HIGHDUR=0 IDLETIME=5
2009/01/12 17:18:27.378 INF: [CID=0xb564eca7] *** DESTROYED CALL *** c7a6142a4d47c1beb9bcd47bc414c72f
2009/01/12 17:18:32.335 INF: [CID=0xb564eca7] <<< CANCEL sip:2077102176@my.ext.ip.addr:5060;transport=udp SIP/2.0 Method(CANCEL) SRC: ip.addr.of.provider.pbx:5060:UDP enc=0 bytes=617
2009/01/12 17:18:32.342 INF: [CID=0xb564eca7] >>> SIP/2.0 405 Method Not Allowed Method(CANCEL) DST: ip.addr.of.provider.pbx:5060:UDP SRC=my.ext.ip.addr:5061 enc=0 bytes=382
2009/01/12 17:18:42.801 INF: [CID=0x680d011b] <<< OPTIONS sip:metaswitch@my.ext.ip.addr:5060;transport=udp SIP/2.0 Method(OPTIONS) SRC: ip.addr.of.provider.pbx:5060:UDP enc=0 bytes=567
2009/01/12 17:18:42.805 INF: [CID=0x680d011b] >>> SIP/2.0 200 OK Method(OPTIONS) DST: ip.addr.of.provider.pbx:5060:UDP SRC=my.ext.ip.addr:5061 enc=0 bytes=430




[Solegy]
RTTS-Client-Address=my.ext.ip.addr

[OpenSBC-General-Parameters]
SIP-Log-Level=1
PTRACE-Log-Level=1
Log-File-Prefix=b2bua
SBC-Application-Mode=Full Mode
Interface-Address Array Size=0
Enable-Backdoor-Port=True
Enable-Trunk-Port=True
Enable-Calea-Port=True
RTP-Min-Port=10000
RTP-Max-Port=20000
Enable-Local-Refer=True
Max-Forwards=70
Encryption-Mode=XOR
Encryption-Key=GS
Transaction-Thread-Count=10
Session-Thread-Count=10
Alerting-Timeout=30000
Seize-Timeout=60000
SIP-Timer-B=Default
SIP-Timer-H=Default
Session-Keep-Alive=1800
Session-Max-Life-Span=10800
Max-Concurrent-Session=100
Max-Call-Rate-Per-Second=10

[Upper-Registration]
Enable-Stateful-Reg=False
Rewrite-TO-Domain=True
Rewrite-FROM-Domain=True
Route-List Array Size=2
Route-List 1=[sip:*@sipxecs.info] sip:xyzcompany.com;domain=xyzcompany.com
Route-List 2=[sip:*@my.ext.ip.addr] sip:xyzcompany.com;domain:xyzcompany.com

[Internal-DNS-Mapping]
Internal-DNS-Map Array Size=2
Internal-DNS-Map 1=[sip:xyzcompany.com] sip:172.16.1.2:5060
Internal-DNS-Map 2=[sip:sipx.xyzcompany.com] sip:172.16.1.2:5060

[Proxy-Relay-Routes]
Drop-Routes-On-Ping-Timeout=False
Proxy-Resolve-To-URI=True
Route-List Array Size=0

[B2BUA-Routes]
Enable-Route-Scripting=False
Route-Script=b2bua-route.cscript
Route-List Array Size=2
Route-List 1=[sip:*@my.ext.ip.addr] sip:xyzcompany.com
Insert-Route-Header=True
Rewrite-TO-URI=True
Prepend-ISUP-OLI=False
Route-By-Request-URI=True
Route-By-To-URI=False
Drop-Routes-On-Ping-Timeout=False
Use-External-XML=False
External-XML-File=b2bua-route.xml
Route-List 2=[sip:*@sipxecs.info] sip:xyzcompany.com

[Media-Server]
Enable-Media-Server=False
Media-Server-Number=5000
Codec-List Array Size=0
No-RTP-Proxy-On-All-Transfers=False
Enable-Announcement-Service=False
4xx-Error-Map=prompts/basic/cant_complete.wav
5xx-Error-Map=prompts/basic/cant_complete.wav
6xx-Error-Map=prompts/basic/cant_complete.wav
Announcement-Error-Map Array Size=0

[Outbound-Proxies]
Outbound-Proxies Array Size=0

[Local-Domain-Accounts]
Accept-All-Registration=True
Account-List Array Size=0

[SIP-Trunk-Config]
SIP-Trunk-Config=
SIP-Trunk-Config=<siptrunk trunk-name="gwisip"
SIP-Trunk-Config=route-set="sip:ip.addr.of.provider.pbx"
SIP-Trunk-Config=sip-domain="domain.provided.by.itsp"
SIP-Trunk-Config=expires="3600">
SIP-Trunk-Config=
SIP-Trunk-Config=<account user-name="207xxxxxxx"
SIP-Trunk-Config=auth-user-name="207xxxxxxx"
SIP-Trunk-Config=auth-password="xxxxxxxxxxxxxx"
SIP-Trunk-Config=inbound-route="sip:100 at xyzcompany dot com"
SIP-Trunk-Config=expires="3600"/>
SIP-Trunk-Config=
SIP-Trunk-Config=
SIP-Trunk-Config=

[Trusted-Domains]
Accept-All-Calls=True
Trusted-Domain-List Array Size=0
  15 posts since
Aug 22, 2007
1. Jan 13, 2009 1:42 AM in response to: mpicher
Re: Trying to get Trunk Registered to provider

hi mike,

did enclose your sip trunk config with<root>....</root>?

<root>

xmls....


</root>

Click to view ehernaez's profile   67 posts since
Aug 28, 2007
3. Jan 15, 2009 11:57 AM in response to: mpicher
Re: Trying to get Trunk Registered to provider

hi mike,

please send the level 5 sip log (showing the registration packet sent to metaswitch) and xml file to ehernaez-at-gmail.com, and i will get you an answer.


Click to view ehernaez's profile   67 posts since
Aug 28, 2007
5. Jan 20, 2009 3:17 PM in response to: mpicher
Re: Trying to get Trunk Registered to provider

Mike,

Sorry, but I am not able to find the logs you sent. Please resend to ehernaez-at-gmail.com

Tthanks