VoIP Mailing List Archives
Mailing list archives for the VoIP community |
|
View previous topic :: View next topic |
Author |
Message |
asterisk-list at puzzl... Guest
|
Posted: Tue May 20, 2008 10:10 am Post subject: [asterisk-users] Problem with Polycom forwarding |
|
|
On Tue, 2008-05-20 at 10:55 -0400, Mike wrote:
Quote: | Hi,
I am having trouble with Polycom forwards and Asterisk. Basically, I
have no clue on how to force callerid or even custom variables (set
using SetVar in the sip.conf file) on the transfered call.
For example, I set a variable called var_a to "foo". When the call
comes in, the variable is set. The Polycom is set to forward the call
to 555-555-1234. When that second "leg" of the same is done, var_a is
unset.
|
Did you try _var_a? Iirc you need to prepend it with an underscore to
make the variable persistent.
Regards,
Patrick |
|
Back to top |
|
|
list at virtutel.ca Guest
|
Posted: Tue May 20, 2008 11:26 am Post subject: [asterisk-users] Problem with Polycom forwarding |
|
|
Quote: | Quote: | I am having trouble with Polycom forwards and Asterisk. Basically, I
have no clue on how to force callerid or even custom variables (set
using SetVar in the sip.conf file) on the transfered call.
For example, I set a variable called var_a to "foo". When the call
comes in, the variable is set. The Polycom is set to forward the call
to 555-555-1234. When that second "leg" of the same is done, var_a is
unset.
|
Did you try _var_a? Iirc you need to prepend it with an underscore to
make the variable persistent.
Regards,
Patrick
| I had not tried (I did not know that), but it did not help.
Problem is a call coming in to the Polycom is coming in to a registration,
which is linked to a sip.conf entry. If it's a normal registration, all is
fine. If it's a forward, it doesn't work.
Maybe the problem comes from the fact that it's a variable in my sip
database (I am using realtime SIP entries) and not in the diaplan per say.
My setvar column is this:
internal_callerid=blabla <123>;did=5555551234
I tried adding underscores before "did" (as in: internal_callerid=blabla
<123>;__did=5555551234) but that didn't help.
Mike |
|
Back to top |
|
|
tilghman at mail.jeffa... Guest
|
Posted: Tue May 20, 2008 11:44 am Post subject: [asterisk-users] Problem with Polycom forwarding |
|
|
On Tuesday 20 May 2008 11:26:34 Mike wrote:
Quote: | Quote: | Quote: | I am having trouble with Polycom forwards and Asterisk. Basically, I
have no clue on how to force callerid or even custom variables (set
using SetVar in the sip.conf file) on the transfered call.
For example, I set a variable called var_a to "foo". When the call
comes in, the variable is set. The Polycom is set to forward the call
to 555-555-1234. When that second "leg" of the same is done, var_a is
unset.
|
Did you try _var_a? Iirc you need to prepend it with an underscore to
make the variable persistent.
Regards,
Patrick
|
I had not tried (I did not know that), but it did not help.
Problem is a call coming in to the Polycom is coming in to a registration,
which is linked to a sip.conf entry. If it's a normal registration, all is
fine. If it's a forward, it doesn't work.
Maybe the problem comes from the fact that it's a variable in my sip
database (I am using realtime SIP entries) and not in the diaplan per say.
My setvar column is this:
internal_callerid=blabla <123>;did=5555551234
I tried adding underscores before "did" (as in: internal_callerid=blabla
<123>;__did=5555551234) but that didn't help.
|
Could you show us your dialplan? There are any number of things that could
be happening.
--
Tilghman |
|
Back to top |
|
|
list at virtutel.ca Guest
|
Posted: Tue May 20, 2008 11:44 am Post subject: [asterisk-users] Problem with Polycom forwarding |
|
|
Quote: | Did you try _var_a? Iirc you need to prepend it with an underscore to
make the variable persistent.
|
Forget my previous email, it didn't quite work that simply but I tweaked my
dialplan and you had the right solution.
Thank you,
Mike |
|
Back to top |
|
|
sherwood.mcgowan at gm... Guest
|
Posted: Tue May 20, 2008 11:55 am Post subject: [asterisk-users] Problem with Polycom forwarding |
|
|
Mike wrote:
Quote: | Quote: | Quote: | I am having trouble with Polycom forwards and Asterisk. Basically, I
have no clue on how to force callerid or even custom variables (set
using SetVar in the sip.conf file) on the transfered call.
For example, I set a variable called var_a to "foo". When the call
comes in, the variable is set. The Polycom is set to forward the call
to 555-555-1234. When that second "leg" of the same is done, var_a is
unset.
| Did you try _var_a? Iirc you need to prepend it with an underscore to
make the variable persistent.
Regards,
Patrick
|
I had not tried (I did not know that), but it did not help.
Problem is a call coming in to the Polycom is coming in to a registration,
which is linked to a sip.conf entry. If it's a normal registration, all is
fine. If it's a forward, it doesn't work.
Maybe the problem comes from the fact that it's a variable in my sip
database (I am using realtime SIP entries) and not in the diaplan per say.
My setvar column is this:
internal_callerid=blabla <123>;did=5555551234
I tried adding underscores before "did" (as in: internal_callerid=blabla
<123>;__did=5555551234) but that didn't help.
Mike
_______________________________________________
-- 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
| You're close, it's not a fact of being persistent, it's inheritance
that's the issue. Using a single underscore sets future spawned channels
to have access to the variable |
|
Back to top |
|
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group
|