Title: RE: [Asterisk-Users] Troubleshooting Asterisk

>Great :-)

>If you use context=from-sip in sip.conf, you should include the [voiptalk] >context into your [from-sip] context. (in the extension.conf)

>eg.

>[from-sip]

>include => 2001

>include => 2002

>include => voiptalk

>This way the Cisco's can call eachother, and dialout using the dial->patterns defined in [voiptalk]

Done. Doesn’t want to work (bearing in mind that I'm behind a NAT, I presume I need to activate the NAT=yes settings. Also are there any ports that need to be allowed through the NAT firewall at all? I could always just DMZ the box....

Called number is 01934830055. The trace I'm seeing is as follows...

Using latest request as basis request

Sending to 192.168.1.151 : 5060 (non-NAT)

Found RTP audio format 0

Found RTP audio format 8

Found RTP audio format 18

Found RTP audio format 101

Peer audio RTP is at port 192.168.1.151:17084

Found description format PCMU

Found description format PCMA

Found description format G729

Found description format telephone-event

Capabilities: us - 0x8000e (gsm|ulaw|alaw|h263), peer - audio=0x10c (ulaw|alaw|g729)/video=0x0 (nothing), combined - 0xc (ulaw|alaw)

Non-codec capabilities: us - 0x1 (g723), peer - 0x1 (g723), combined - 0x1 (g723)

Found user '2001'

Looking for 01934830055 in from-sip

Reliably Transmitting (no NAT):

SIP/2.0 404 Not Found

Via: SIP/2.0/UDP 192.168.1.151:5060;branch=z9hG4bK6bd504eb

From: "2001" <sip:[EMAIL PROTECTED]>;tag=000e833cb157000b51278729-524afec6

To: <sip:[EMAIL PROTECTED]>;tag=as582ddfdc

Call-ID: [EMAIL PROTECTED]

CSeq: 102 INVITE

User-Agent: Asterisk PBX

Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER

Contact: <sip:[EMAIL PROTECTED]>

Content-Length: 0


 to 192.168.1.151:5060


Sip read:

ACK sip:[EMAIL PROTECTED] SIP/2.0

Via: SIP/2.0/UDP 192.168.1.151:5060;branch=z9hG4bK6bd504eb

From: "2001" <sip:[EMAIL PROTECTED]>;tag=000e833cb157000b51278729-524afec6

To: <sip:[EMAIL PROTECTED]>;tag=as582ddfdc

Call-ID: [EMAIL PROTECTED]

Date: Tue, 21 Dec 2004 11:11:01 GMT

CSeq: 102 ACK

Content-Length: 0


8 headers, 0 lines

Destroying call '[EMAIL PROTECTED]'

Any thoughts? I've for the [voiptalk] Iax information in iax.conf..

[voiptalk]

type=peer

username=username

secret=password

host=217.14.132.162     ;ip addr for voiptalk

Paul

_______________________________________________
Asterisk-Users mailing list
[email protected]
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Reply via email to