[asterisk-users] IAX user register problem
Mian M Asif
asif44pk at gmail.com
Fri Mar 28 07:33:35 CDT 2008
i am getting Registration Refused error when i debug on console.
please tell me how can i registration every user without any username
and password and these user can make calls between each other.
i am very thankful if any body help me in this regards,
advcomm6*CLI>iax2 debug
Tx-Frame Retry[-01] -- OSeqno: 000 ISeqno: 001 Type: IAX Subclass: ACK
Timestamp: 00003ms SCall: 00002 DCall: 09398 [203.99.57.80:47641]
Rx-Frame Retry[Yes] -- OSeqno: 000 ISeqno: 000 Type: IAX Subclass: REGREQ
Timestamp: 00003ms SCall: 09398 DCall: 00000 [203.99.57.80:47641]
USERNAME : aliadvcommnet
REFRESH : 60
Tx-Frame Retry[-01] -- OSeqno: 000 ISeqno: 001 Type: IAX Subclass: ACK
Timestamp: 00003ms SCall: 00002 DCall: 09398 [203.99.57.80:47641]
Tx-Frame Retry[001] -- OSeqno: 000 ISeqno: 001 Type: IAX Subclass: REGREJ
Timestamp: 00002ms SCall: 00002 DCall: 09398 [203.99.57.80:47641]
CAUSE : Registration Refused
CAUSE CODE : 29
On Fri, Mar 28, 2008 at 3:13 AM, Mian M Asif <asif44pk at gmail.com> wrote:
> hi,
> i want to call PC2PC between to IAX client without authentication i
> want to allow every user to use PC2PC no any password required. Please
> let me know what i have need to do in IAX.conf or any other file to
> allow any user to call Pc2Pc.
>
> My IAX.conf
> [guest]
> type=user
> context=default
> callerid="Guest IAX User"
>
> My extensions.conf
> [default]
> exten=>_.,1,Dial(IAX2/${EXTEN})
> exten=>_y.,1,Dial(IAX2/${EXTEN})
> exten=>_a.,1,Dial(IAX2/${EXTEN})
>
> below is my Asterisk console logs which i see after making call.
>
> Mar 28 03:25:43 NOTICE[2855]: chan_iax2.c:5144 register_verify: No
> registration for peer 'aliadvcommnet' (from 203.99.57.80)
> Mar 28 03:25:55 NOTICE[2855]: chan_iax2.c:5144 register_verify: No
> registration for peer 'aliadvcommnet' (from 203.99.57.80)
> Mar 28 03:25:55 NOTICE[2855]: chan_iax2.c:6910 socket_read: Rejected
> connect attempt from 203.99.57.80, who was trying to reach
> 'jaffaradvcommnet@'
> Mar 28 03:26:11 NOTICE[2855]: chan_iax2.c:5144 register_verify: No
> registration for peer 'j' (from 203.99.57.80)
> advcomm6*CLI> iax2 show channels
> Channel Peer Username ID (Lo/Rem) Seq
> (Tx/Rx) Lag Jitter JitBuf Format
> (None) 203.99.57.80 (None) 00004/15232
> 00001/00001 00000ms -0001ms 0000ms unknow
> (None) 203.99.57.80 jaffaradvc 00005/15233
> 00004/00004 00000ms -0001ms 0000ms unknow
> (None) 203.99.57.80 (None) 00006/18423
> 00001/00001 00000ms -0001ms 0000ms unknow
> 3 active IAX channels
> Mar 28 03:26:28 DEBUG[2855]: chan_iax2.c:4959 raw_hangup: Raw Hangup
> 203.99.57.80:53262, src=0, dst=15233
> Mar 28 03:26:28 DEBUG[2855]: chan_iax2.c:4959 raw_hangup: Raw Hangup
> 203.99.57.80:53262, src=0, dst=15233
> Mar 28 03:26:28 DEBUG[2855]: chan_iax2.c:4959 raw_hangup: Raw Hangup
> 203.99.57.80:53262, src=0, dst=15233
> Mar 28 03:26:55 NOTICE[2855]: chan_iax2.c:5144 register_verify: No
> registration for peer 'aliadvcommnet' (from 203.99.57.80)
> Mar 28 03:27:11 NOTICE[2855]: chan_iax2.c:5144 register_verify: No
> registration for peer 'jaffaradvcommnet' (from 203.99.57.80)
>
> i am very thankful if some one help me in this regards,
>
> regards,
> Asif
>
More information about the asterisk-users
mailing list