Re: [asterisk-users] IAX2 trunking with Older Asterisk, version ?

2009-06-01 Thread Rob Hillis
The clue in the log is no authority found.  Something in the
configuration at the other end doesn't match the configuration at this
end - almost certainly the username and password.

Why are you including the IP address when dialling the trunk?  If your
peers are set up with IP addresses (which they are) it should not be
necessary.

By the way, it's a *very* bad idea to post passwords in a public forum.

Tharanga wrote:
 my sip phone registered on 1.6, when i dial 4567 from 1.6 version, it wont go 
 to 1.6 voice mail. it says



 == Using SIP RTP CoS mark 5
 -- Executing [4...@sip:1] Dial(SIP/312-09f9a720, 
 IAX2/trun...@147.120.203.98/4567,10,t) in new stack
 -- Called trun...@147.120.203.98/4567
 [Jun  1 11:01:18] WARNING[8178]: chan_iax2.c:8991 socket_process: Call 
 rejected by 147.120.203.98: No authority found
 -- Hungup 'IAX2/trunk14-9738'
   == Everyone is busy/congested at this time (1:0/0/1)
 -- Auto fallthrough, channel 'SIP/312-09f9a720' status is 'CHANUNAVAIL'


 [trunk14]
 type=friend
 host=147.120.203.98
 auth=plaintext
 secret=XX
 context=sip,sip2,sip3
 ;keyrotate=off
 permit=0.0.0.0/0.0.0.0



 1.6 EXTENSIONS.CONF

 [globals]
 TRUNKIAX14=IAX2/trun...@147.120.203.98


 [sip]
 ;exten = 4567,1,Dial(${TRUNKIAX14}/${EXTEN}|10|t)
 exten = 4567,1,Voicemail(${EXTEN},u)
 ~



 1.2 EXTENSIONS.CONF

 [Jun  1 05:20:31] NOTICE[9536]: chan_iax2.c:8782 socket_process: Rejected 
 connect attempt from 147.120.203.71, who was trying to reach '4567@


 [trunk14]
 type=friend
 host=147.120.203.71
 auth=plaintext
 secret=Mah
 context=sip,sip2,sip3
 ;keyrotate=off
 permit=0.0.0.0/0.0.0.0





 [globals]
 TRUNKIAX14=IAX2/trun...@147.120.203.71


 [sip]
 exten = s,1,wait(1) ; Answer the line
 exten = s,n,BackGround(demo-congrats)
 exten = s,n,ResponseTimeout,5
 exten = s,n,Dial(SIP/${EXTEN},20,t)
 ;exten = s,n,BackGround(goodbye)
 exten = s,n,Hangup

 exten = 4567,1,Dial(${TRUNKIAX14}/${EXTEN},10,t)





 Asterisk versions may differ. I do IAX trunk successfully even
 between Asterisk 1.0.2 and 1.4.xx
 please post your Dial command.



 ___
 -- Bandwidth and Colocation Provided by http://www.api-digital.com --

 asterisk-users mailing list
 To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users
   

___
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [asterisk-users] IAX2 trunking with Older Asterisk, version ?

2009-06-01 Thread Tim Panton
Given that he is using plaintext as the auth method, I guess anyone  
who wants that

password can have it by snooping anyhow. :-)

T.

On 1 Jun 2009, at 07:18, Rob Hillis wrote:


The clue in the log is no authority found.  Something in the
configuration at the other end doesn't match the configuration at this
end - almost certainly the username and password.

Why are you including the IP address when dialling the trunk?  If your
peers are set up with IP addresses (which they are) it should not be
necessary.

By the way, it's a *very* bad idea to post passwords in a public  
forum.


Tharanga wrote:
my sip phone registered on 1.6, when i dial 4567 from 1.6 version,  
it wont go to 1.6 voice mail. it says




== Using SIP RTP CoS mark 5
   -- Executing [4...@sip:1] Dial(SIP/312-09f9a720, IAX2/trun...@147.120.203.98 
/4567,10,t) in new stack

   -- Called trun...@147.120.203.98/4567
[Jun  1 11:01:18] WARNING[8178]: chan_iax2.c:8991 socket_process:  
Call rejected by 147.120.203.98: No authority found

   -- Hungup 'IAX2/trunk14-9738'
 == Everyone is busy/congested at this time (1:0/0/1)
   -- Auto fallthrough, channel 'SIP/312-09f9a720' status is  
'CHANUNAVAIL'



[trunk14]
type=friend
host=147.120.203.98
auth=plaintext
secret=XX
context=sip,sip2,sip3
;keyrotate=off
permit=0.0.0.0/0.0.0.0



1.6 EXTENSIONS.CONF

[globals]
TRUNKIAX14=IAX2/trun...@147.120.203.98


[sip]
;exten = 4567,1,Dial(${TRUNKIAX14}/${EXTEN}|10|t)
exten = 4567,1,Voicemail(${EXTEN},u)
~



1.2 EXTENSIONS.CONF

[Jun  1 05:20:31] NOTICE[9536]: chan_iax2.c:8782 socket_process:  
Rejected connect attempt from 147.120.203.71, who was trying to  
reach '4567@



[trunk14]
type=friend
host=147.120.203.71
auth=plaintext
secret=Mah
context=sip,sip2,sip3
;keyrotate=off
permit=0.0.0.0/0.0.0.0





[globals]
TRUNKIAX14=IAX2/trun...@147.120.203.71


[sip]
exten = s,1,wait(1) ; Answer the line
exten = s,n,BackGround(demo-congrats)
exten = s,n,ResponseTimeout,5
exten = s,n,Dial(SIP/${EXTEN},20,t)
;exten = s,n,BackGround(goodbye)
exten = s,n,Hangup

exten = 4567,1,Dial(${TRUNKIAX14}/${EXTEN},10,t)





Asterisk versions may differ. I do IAX trunk successfully even
between Asterisk 1.0.2 and 1.4.xx
please post your Dial command.



___
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
  http://lists.digium.com/mailman/listinfo/asterisk-users



___
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
  http://lists.digium.com/mailman/listinfo/asterisk-users


Tim Panton - Web/VoIP consultant and implementor
www.westhawk.co.uk





smime.p7s
Description: S/MIME cryptographic signature
___
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Re: [asterisk-users] IAX2 trunking with Older Asterisk, version ?

2009-05-31 Thread Tharanga
my sip phone registered on 1.6, when i dial 4567 from 1.6 version, it wont go 
to 1.6 voice mail. it says



== Using SIP RTP CoS mark 5
-- Executing [4...@sip:1] Dial(SIP/312-09f9a720, 
IAX2/trun...@147.120.203.98/4567,10,t) in new stack
-- Called trun...@147.120.203.98/4567
[Jun  1 11:01:18] WARNING[8178]: chan_iax2.c:8991 socket_process: Call rejected 
by 147.120.203.98: No authority found
-- Hungup 'IAX2/trunk14-9738'
  == Everyone is busy/congested at this time (1:0/0/1)
-- Auto fallthrough, channel 'SIP/312-09f9a720' status is 'CHANUNAVAIL'


[trunk14]
type=friend
host=147.120.203.98
auth=plaintext
secret=Mah
context=sip,sip2,sip3
;keyrotate=off
permit=0.0.0.0/0.0.0.0



1.6 EXTENSIONS.CONF

[globals]
TRUNKIAX14=IAX2/trun...@147.120.203.98


[sip]
;exten = 4567,1,Dial(${TRUNKIAX14}/${EXTEN}|10|t)
exten = 4567,1,Voicemail(${EXTEN},u)
~



1.2 EXTENSIONS.CONF

[Jun  1 05:20:31] NOTICE[9536]: chan_iax2.c:8782 socket_process: Rejected 
connect attempt from 147.120.203.71, who was trying to reach '4567@


[trunk14]
type=friend
host=147.120.203.71
auth=plaintext
secret=Mah
context=sip,sip2,sip3
;keyrotate=off
permit=0.0.0.0/0.0.0.0





[globals]
TRUNKIAX14=IAX2/trun...@147.120.203.71


[sip]
exten = s,1,wait(1) ; Answer the line
exten = s,n,BackGround(demo-congrats)
exten = s,n,ResponseTimeout,5
exten = s,n,Dial(SIP/${EXTEN},20,t)
;exten = s,n,BackGround(goodbye)
exten = s,n,Hangup

exten = 4567,1,Dial(${TRUNKIAX14}/${EXTEN},10,t)





Asterisk versions may differ. I do IAX trunk successfully even
between Asterisk 1.0.2 and 1.4.xx
please post your Dial command.



___
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [asterisk-users] IAX2 trunking with Older Asterisk version ?

2009-05-29 Thread Aurimas Skirgaila
Asterisk versions may differ. I do IAX trunk successfully even
between Asterisk 1.0.2 and 1.4.xx
please post your Dial command.


On Fri, May 29, 2009 at 11:33 AM, Tharanga thara...@roomsnet.com wrote:

 Hi All,

 Is it possible to make a IAX2 connection between asterisk 1.6.1.0 , and
 asterisk 1.2.14 ?

 i tried to use a IAX2 connection between version 1.2.14 and 1.6.1.0 but
 it gave an error -

 1.2.14 End  - Error Msg
 WARNING[8313]: chan_iax2.c:7103 socket_read: Call rejected by
 147.120.203.71: No authority found

 1.2 END , IAX.conf

 [trunk14]
 type=friend
 host=147.120.203.71
 secret=test123
 context=sip,sip2,sip3
 permit=0.0.0.0/0.0.0.0


 1.6.1.0 End - Error Msg
 NOTICE[9854]: chan_iax2.c:8782 socket_process: Rejected connect attempt
 from 147.120.203.69, who was trying to reach '4567@'

 [trunk14]
 type=friend
 host=147.120.203.67
 secret=test123
 context=sip,sip2,sip3
 keyrotate=off
 permit=0.0.0.0/0.0.0.0


 what could be the problem ? do i need to have the same asterisk versions
 both side ?

 Thanks,
 Tharanga


 ___
 -- Bandwidth and Colocation Provided by http://www.api-digital.com --

 asterisk-users mailing list
 To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users




-- 
Mvh,
Aurimas Skirgaila
___
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users