SearchSearch  Log in to check your private messagesLog in to check your private messages  recent posts Recent Posts
Post new topic   Reply to topic
View previous topic Printable version Log in to check your private messages View next topic
Author Message
jhughes96Offline



Joined: Nov 26, 2006
Posts: 3

Status: Offline
Posted: Nov 26, 2006 - 11:01 AM Reply with quote Back to top
Hi,
I'm trying to forward the following number 08700687645 onto my working Asterisk box.

IAX2/448700687645:XXX@XXXX

Here is a snipper from IAX.CONF
[VOIPUSER]
username=448700687645
secret=XXXX
type=user
content=inboundvoipuser

...EXTENSIONS.CONF
[inboundvoipuser]
exten => 448700687645,1,Dial(SIP/sip.gradwell.net/7660230)

..and this is what I see in the CLI when the number is dialed
Connected to Asterisk 1.2.6 currently running on pig (pid = 27586)
Rx-Frame Retry[ No] -- OSeqno: 000 ISeqno: 000 Type: IAX Subclass: NEW
Timestamp: 00003ms SCall: 00003 DCall: 00000 [213.166.5.129:4569]
VERSION : 2
CALLED NUMBER : 448700687645
CODEC_PREFS : (ilbc|gsm|alaw|ulaw)
CALLING NUMBER : 01633667952
CALLING PRESNTN : 0
CALLING TYPEOFN : 0
CALLING TRANSIT : 0
LANGUAGE : en
USERNAME : 448700687645
FORMAT : 8
CAPABILITY : 64526
ADSICPE : 2
DATE TIME : 2006-11-26 10:16:04

Nov 26 10:14:25 NOTICE[16517]: chan_iax2.c:6795 socket_read: Rejected connect attempt from 213.166.5.129, who was trying to reach '448700687645@'
Tx-Frame Retry[000] -- OSeqno: 000 ISeqno: 001 Type: IAX Subclass: REJECT
Timestamp: 00004ms SCall: 00001 DCall: 00003 [213.166.5.129:4569]
CAUSE : No authority found
CAUSE CODE : 50

Rx-Frame Retry[ No] -- OSeqno: 001 ISeqno: 001 Type: IAX Subclass: ACK
Timestamp: 00004ms SCall: 00003 DCall: 00001 [213.166.5.129:4569]
pig*CLI>


any ideas?

Thanks

Joel
View user's profile Send private message
ianplainOffline
Site Admin


Joined: Jul 05, 2004
Posts: 2900
Location: Bath UK
Status: Offline
Posted: Nov 26, 2006 - 11:48 AM Reply with quote Back to top
Hi Joel
Welcome to voipuser.

I think you may find that the call is dropping into the default context defined in your iax.conf. try adding a goto there or setting that to inboundvoipuser

Ian
View user's profile Send private message
jhughes96Offline



Joined: Nov 26, 2006
Posts: 3

Status: Offline
Posted: Nov 26, 2006 - 02:30 PM Reply with quote Back to top
Hi Ian and thanks,
you got me thinking along the right tracks...

My first deliberate mistake (ahem!) was typing "content" instead of "context" (duh!).

My other mistake was thinking that the 'context'(?) name in IAX.CONF was arbitrary - I had to change it to the phonenumber - I must look up what the rules are for that.

Joel
View user's profile Send private message


View previous topic Printable version Log in to check your private messages View next topic

Post new topic   Reply to topic
Forum Rules and Guidelines | About VoIP User | Privacy Policy


All logos and trademarks in this site are property of their respective owner.
Comments and posts are property of the poster, all the rest (c) 2003-2008 VoIP User Limited.

VoIP User Limited is incorporated in England and Wales under Company Number 6694577.

No part of this site may be reproduced without our prior consent.