[Asterisk-Users] How to use firefly with Asterisk?

Ronald Wiplinger ronald at elmit.com
Sun Dec 26 02:30:15 MST 2004


Listas wrote:

>You should use Firefly Third party edition....
>
>I'm using it in IAX2 and it works fine
>
>  
>

Thanks for the hint. I am still not there ;-(

iax.conf    includes:

register => 611:<password>@voip.elmit.com      ;firefly

....

[611]  ; Firefly 3rd party
type=friend
host=dynamic
disallow=all
allow=ilbc
allow=gsm
auth=md5
trunk=no
qualify=no
accountcode=iaxy
secret=<password>
context=fromfirefly


extensions.conf

FIREFLYNUMBER=611
FIREFLYRINGS=SIP/601
FIREFLYVMBOX=611


[fromfirefly]
exten => ${FIREFLYNUMBER},1,Wait(1)
exten => ${FIREFLYNUMBER},2,SetCallerId(394${CALLERIDNUM})
exten => ${FIREFLYNUMBER},3,Background(custom/Welcome-to-ELMIT) ; tell them who you are
exten => ${FIREFLYNUMBER},4,SayUnixTime
exten => ${FIREFLYNUMBER},5,Dial(${FIREWIRERINGS},20,tr)
exten => ${FIREFLYNUMBER},6,Dial(${PHONE_601}&${PHONE_603},20,tr)
exten => ${FIREFLYNUMBER},7,Voicemail,u${FIREWIREVMBOX}
exten => ${FIREFLYNUMBER},107,Voicemail,b${FIREWIREVMBOX}


Firefly options:
Network 1 disabled
Network 2 :
Name ELMIT
Network Type: IAX
Server: voip.elmit.com
Username: 611
Password: <password>
Y route my inernal calls using this network
Y route my external calls using this network
Allow the following Codecs:   iLBC  GSM


*CLI>iax2 show registry
192.168.250.254:4569   611   192.168.250.254:4569     60  Registered

*CLI>iax2 show peers
611    192.168.250.254    (D)   255.255.255.255     4549   Unmonitored

*CLI>iax2 show users
611   <password>       00000000000002  fromfirefly     NO


I only see that the IP address is wrong!!! it should be 192.168.250.119.

If I try to use host=192.168.250.119
I get also no connection, ... just the peers changes than from (D) to 
(S) with IP *119

Where is my thinking error.

Firefly is on my local LAN

bye

Ronald





More information about the asterisk-users mailing list