[Date Prev][Date Next][Thread Prev] [Thread Next][Date Index] [Thread Index]

Re: [Flash Operator Panel] SIP Trunk Issues


  • From: Nicolas <nicolas@xxxxxxxxxxxx>
  • Date: Fri, 08 Aug 2008 16:04:03 -0300
  • Mailing-list: contact operator_panel-help@lists.house.com.ar; run by ezmlm

I am not sure if I follow completely.. FOP matches on channel name, you have to look at the channel names that asterisk creates when you receive or make a call out of that trunk.

I have seen several cases on setups that the incoming call does not have a consistent channel name, it depends on how you configure the sip peer/friend and what matches in the dialplan.

Start op_server.pl with debug level 1 (op_server.pl -X 1) and make a call IN or OUT that trunk, and look at the Channel that is being created.. if you create a button using the channel name that you see there, it will work. And you might want to make an extra effort to have just one peer for both inbound and outbound calling... that way with only one button you can see calls in the two directions...

Best regards,

James Bean wrote:
I have a VOIP provider supplier, supplying a SIP trunk to my asterisk box as 
SIP/acevoip, registered using number & login account 07yyyyyyyy.
Dial's are executed by SIP/acevoip/<number> registration is used via 07yyyyyyyy

Basically the issue is, nothing comes up on the buttons when a call comes in or 
out, they do at the destination, just not on the actually SIP trunks.

In the fop config i have tried multiple combinations of information but from 
the FOP examples

[SIP/acevoip]
Position=50-56
Label="Voip Outgoing%0aLine "
Extension=-1
Icon=4

[SIP/07yyyyyyyy]
Position=57-59
Label="Voip Incoming%0aLine "
Extension=-1
Icon=4

Show channels - Outgoing
SIP/acevoip-08523fb0 07xxxxxxxx@xxxxxxxxxx Down    AppDial((Outgoing Line))
SIP/622-0853ac20     07xxxxxxxx@xxxxxxxx:5 Ring    Dial(SIP/acevoip/07xxxxxxxx)

Show channels - Incoming
Channel              Location             State   Application(Data)
SIP/622-085006b8     07yyyyyyyy@xxxxxxxx: Ringing AppDial((Outgoing Line))
SIP/07yyyyyyyy-08504 07yyyyyyyy@xxxxxxxxx Up      Dial(SIP/622|30|tn)

Sip.conf

register => 07yyyyyyyy:password@xxxxxxxxxxxxxxxx/07yyyyyyyy

[acevoip]
context=from-acevoip
type=friend
auth=md5
canreinvite=yes
dtmfmode=auto
fromdomain=voice.supplier.com.au
fromuser=yyyyyyyy
host=byo.supplier.com.au
insecure=very
;insecure=port,invite
musiconhold=framed
nat=yes
port=5060
qualify=no
realm=mobileinnovations.com.au
canreinvite=yes
secret=password
username=yyyyyyyy
annexb=no
disallow=all
allow=g729

Console dump of me calling then me receiving a call on the SIP Trunk

    -- Executing [xxxxxxxx@xxxxxxxx:1] NoOp("SIP/622-0853ac20", "CallerID James Home 
622") in new stack
    -- Executing [xxxxxxxx@xxxxxxxx:2] System("SIP/622-0853ac20", "mkdir 
/mnt/Recordings/EXT0622") in new stack
mkdir: cannot create directory `/mnt/Recordings/EXT0622': File exists
    -- Executing [xxxxxxxx@xxxxxxxx:3] Set("SIP/622-0853ac20", 
"CALLFILENAME=/mnt/Recordings/EXT0622/622-Called-08082008-230419- xxxxxxxx.wav49") in new 
stack
    -- Executing [xxxxxxxx@xxxxxxxx:4] MixMonitor("SIP/622-0853ac20", 
"/mnt/Recordings/EXT0622/622-Called-08082008-230419- xxxxxxxx.wav49|v(0)V(0)") in new 
stack
    -- Executing [xxxxxxxx@xxxxxxxx:5] Dial("SIP/622-0853ac20", 
"SIP/acevoip/xxxxxxxx") in new stack
    -- Called acevoip/xxxxxxxx
  == Begin MixMonitor Recording SIP/622-0853ac20
    -- SIP/acevoip-08523fb0 is making progress passing it to SIP/622-0853ac20
  == Spawn extension (from-sip, xxxxxxxx, 5) exited non-zero on 
'SIP/622-0853ac20'
  == End MixMonitor Recording SIP/622-0853ac20

    -- Executing [07yyyyyyyy@xxxxxxxxxxxx:1] Answer("SIP/07yyyyyyyy-085048b0", 
"") in new stack
    -- Executing [07yyyyyyyy@xxxxxxxxxxxx:2] System("SIP/07yyyyyyyy-085048b0", 
"mkdir /mnt/Recordings/EXT0622") in new stack
mkdir: cannot create directory `/mnt/Recordings/EXT0622': File exists
    -- Executing [07yyyyyyyy@xxxxxxxxxxxx:3] Set("SIP/07yyyyyyyy-085048b0", 
"CALLFILENAME=/mnt/Recordings/EXT0622/622-Received-08082008-230435-xxxxxxxx") in new stack
    -- Executing [07yyyyyyyy@xxxxxxxxxxxx:4] MixMonitor("SIP/07yyyyyyyy-085048b0", 
"/mnt/Recordings/EXT0622/622-Received-08082008-230435-xxxxxxxx.wav49|v(0)V(0)") in new 
stack
    -- Executing [07yyyyyyyy@xxxxxxxxxxxx:5] Dial("SIP/07yyyyyyyy-085048b0", 
"SIP/622|30|tn") in new stack
    -- Called 622
  == Begin MixMonitor Recording SIP/07yyyyyyyy-085048b0
    -- SIP/622-085006b8 is ringing
  == Spawn extension (from-acevoip, 07yyyyyyyy, 5) exited non-zero on 
'SIP/07yyyyyyyy-085048b0'
  == End MixMonitor Recording SIP/07yyyyyyyy-085048b0

--
This message was scanned by ESVA and is believed to be clean.



Flash Operator Panel Mailing List

To unsubscribe send an empty message to:
   <operator_panel-unsubscribe@xxxxxxxxxxxxxxxxxx>
To get help send an empty message to:
   <operator_panel-help@xxxxxxxxxxxxxxxxxx>
The archives can be found at:
   http://www.asternic.org/archives/maillist.html




Follow-Ups from:
James Bean

References to:
James Bean

[Date Prev][Date Next][Thread Prev] [Thread Next][Date Index] [Thread Index]