Hi
I am trying to connect a Asterisk server to a cs1000, with SIP. It’s working, but not good enough yet.
The problem is, that i have to set “allowguest=yes” i asterisk in order for the incomming sipconnections from cs1000 to work. I do not know how to get this into a siptrunk and then put it into a context (except the default context oc).
I want the connection to go into this, in sip.conf:
[nortelincomming]
type=friend
host=192.168.0.11
qualify=yes
insecure=very
context=from-nortel
The link from the cs1000 is from a provider, so I do not have much to say about the cs1000 config (ok, a little bit.)
first SIP header for a call:
<--- SIP read from UDP:192.168.0.11:48851 --->
INVITE sip:44793;phone-context=somethingcdp.somethingudp@something.com;user=phone SIP/2.0
Via: SIP/2.0/UDP 192.168.0.11:5060;branch=z9hG4bKae207ccbea4f296754e8b86f-1c1f1be4.1
Via: SIP/2.0/TCP 192.168.0.10:5060;branch=z9hG4bK-28c696-9f47bd78-42851fe2;received=192.168.0.10
Record-Route: <sip:192.168.0.11@192.168.0.11:5060;transport=udp;lr>
From: <sip:98765432;phone-context=+47@something.com;user=phone>;tag=a3306da8-a0413ac-13c4-55013-28c696-611c8d0-28c696
To: <sip:44793;phone-context=somethingcdp.somethingudp@something.com;user=phone>
Call-ID: a2b4ff28-a0413ac-13c4-55013-28c696-1ace4c12-28c696
CSeq: 1 INVITE
Contact: <sip:98765432;phone-context=+47@something.com:5060;maddr=192.168.0.10;transport=tcp;user=phone>
Max-forwards: 69
Supported: 100rel,x-nortel-sipvc,replaces
User-agent: Nortel CS1000 SIP GW release_7.0 version_ssLinux-7.00.20
P-asserted-identity: <sip:98765432;phone-context=+47@something.com;user=phone>
Privacy: none
X-nt-e164-clid: +98765432@something.com;user=phone
History-info: <sip:44793;phone-context=somethingcdp.somethingudp@something.com;user=phone>;index=1
Allow: INVITE, ACK, BYE, REGISTER, REFER, NOTIFY, CANCEL, PRACK, OPTIONS, INFO, SUBSCRIBE, UPDATE
Content-Type: multipart/mixed ;boundary=unique-boundary-1
Content-Length: 1097
Offcourse, "sip:44793;phone-context=somethingcdp.somethingudp@something.com;user=phone" is the clue i guess, but i can’t seem to understand how anyway…
Can anyone please help me?