[asterisk-users] BLF with Realtime

Danny Dias ing.diasdanny at gmail.com
Thu Jul 15 12:12:22 CDT 2010


Thanks as always Zeeshan ;)

I've changed my configuration, take a look:

[8250]
type=friend
callerid=Extensión 8250 <8250>
canreinvite=no
context=pbx9
dtmfmode=rfc2833
host=dynamic
insecure=no
language=es
nat=yes
pickupgroup=
callgroup=
qualify=2000
secret=cyx2mo
type=friend
username=8250
subscribecontext=pbx9
call-limit=100
disallow=all
allow=g729
allow=g723
allow=ulaw
allow=alaw
allow=ilbc
allow=gsm
allow=h263
allow=h263p
allow=h264

***sip.conf***

[general]
.
.
.
.
notifyringing=yes
notifyhold=no
rtupdate=yes
rtcachefriends=yes

***extensions.conf***

[pbx9]
exten => 8340,hint,SIP/8340
include => pruebas
switch => Realtime/pbx9 at extensions

In the Asterisk CLI i could see this message:

[Jul 15 18:43:14] WARNING[15867]: chan_sip.c:15766
handle_request_subscribe: SUBSCRIBE failure: unrecognized format:
'multipart/related' pvt: subscribed: 0, stateid: -1, laststate: 0,
dialogver: 0, subscribecont: 'pbx9', subscribeuri: ''

asterisk -rx 'sip show subscriptions'
Peer             User        Call ID      Extension        Last state
   Type            Mailbox
0 active SIP subscriptions

asterisk -rx 'show hints'

    -= Registered Asterisk Dial Plan Hints =-
               8340 at pbx9                : SIP/8340          State:Idle
           Watchers  0
----------------
- 1 hints registered


And phone does not show any light with the the extension 8349 in use...

Thanks in advance for your help


> Message: 4
> Date: Wed, 14 Jul 2010 10:24:39 -0400
> From: Zeeshan Zakaria <zishanov at gmail.com>
> Subject: Re: [asterisk-users] BLF with Realtime
> To: Asterisk Users Mailing List - Non-Commercial Discussion
>        <asterisk-users at lists.digium.com>
> Message-ID:
>        <AANLkTin5FE-Zr-ML8lGzHJWqQR_iLIO3uBzCwWWGaWKD at mail.gmail.com>
> Content-Type: text/plain; charset="iso-8859-1"
>
> On asterisk 1.4 using real-time, subscribecontext field never worked for me
> and I have to add the hints in extensions.conf. But once there, they work
> just fine.
>
> Zeeshan A Zakaria
>



More information about the asterisk-users mailing list