musb

Unable to dial extention 7654: Channel 'SIP/13249' is not available

Discussion created by musb on Sep 12, 2007
Latest reply on Oct 8, 2007 by musb

Hi all,

 

I'm trying to use openfire 3.3.2 with asterisk-im 1.3.1 and spark  2.5.6.

 

 

 

The asterisk configuration is right (work with softphones):

 

 

 

My sip.conf:

 

 

 

type=friend

username=fernando.ribeiro

secret=mypass

auth=md5

nat=no

host=dynamic

reinvite=no

canreinvite=no

qualify=1000

dtmfmode=rfc2833

disallow=all

allow=all

context=default

mailbox=7654

 

type=friend

username=fernando.voip

secret=mypass

auth=md5

nat=no

host=dynamic

reinvite=no

canreinvite=no

qualify=1000

dtmfmode=rfc2833

disallow=all

allow=all

context=default

mailbox=13249

 

 

 

My extensions.conf:

 

 

 

exten => 7654,1,Dial(SIP/7654,20,rtTm)

exten => 13249,1,Dial(SIP/13249,20,rtTm)

 

 

 

 

 

 

 

I can to see the manager working with:

 

 

 

jabberix*CLI> show manager connected

Username         IP Address    

jabber           10.1.0.240  

 

 

 

 

 

 

 

In the Openfire Asterisk-IM i have one asterisk server connected fine and these phone mappings:

 

Username

Device

Extension

Call ID

fernando.voip

SIP/13249

13249

13249

fernando.ribeiro

SIP/7654

7654

7654

 

 

While i try one call to user using spark, the spark debugger return this error:

 

 

 

<iq id="1maK7-65" to="fernando.voip@jabber.mydomain.com/spark" from="phone.jabber.mydomain.com" type="error">

<error code="500" type="CANCEL">

<undefined-condition xmlns="urn:ietf:params:xml:ns:xmpp-stanzas"/>

<text xmlns="urn:ietf:params:xml:ns:xmpp-stanzas" xml:lang="en">Unable to dial extention 7654: Channel 'SIP/13249' is not available</text>

</error>

</iq>

 

 

 

Can somebody help me?

 

 

 

Thank you.

 

 

 

Best Regards,

Fernando Ribeiro

Outcomes